This commit is contained in:
jl777
2019-07-10 07:46:10 -11:00
parent 0c76dbf7ac
commit d304ce41cf

View File

@@ -2222,8 +2222,10 @@ bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlo
memset(&hashBlock,0,sizeof(hashBlock));
if ( KOMODO_NSPV != 0 )
{
int64_t rewardsum = 0;
return(NSPV_gettransaction(1,0,hash,0,txOut,0,0,rewardsum) == 0);
int64_t rewardsum = 0; int32_t retval,vout = 0;
retval = NSPV_gettransaction(1,vout,hash,0,txOut,0,0,rewardsum);
fprintf(stderr,"myGetTransaction retval.%d\n",retval);
return(retval == 0);
}
// need a GetTransaction without lock so the validation code for assets can run without deadlock
{