GAME freq.5

This commit is contained in:
jl777
2018-05-23 10:05:51 +03:00
parent bbf29c15e2
commit e2d299ee83
3 changed files with 4 additions and 3 deletions

View File

@@ -452,7 +452,7 @@ int32_t gettxout_scriptPubKey(uint8_t *scriptPubKey,int32_t maxsize,uint256 txid
}*/
CTransaction tx;
uint256 hashBlock;
if ( GetTransaction(txid,tx,hashBlock,true) == 0 )
if ( GetTransaction(txid,tx,hashBlock,false) == 0 )
return(-1);
else if ( n <= tx.vout.size() ) // vout.size() seems off by 1
{