This commit is contained in:
jl777
2016-12-01 11:24:19 -03:00
parent 1ea06824ee
commit 8b44f6c46b
2 changed files with 2 additions and 2 deletions

View File

@@ -715,7 +715,7 @@ int32_t gettxout_scriptPubKey(uint8_t *scriptPubKey,int32_t maxsize,uint256 txid
uint256 hashBlock;
if ( GetTransaction(txid,tx,hashBlock,true) == 0 )
return(-1);
else if ( n < tx.vout.size() )
else //if ( n < tx.vout.size() )
{
ptr = (uint8_t *)tx.vout[n].scriptPubKey.data();
m = tx.vout[n].scriptPubKey.size();