This commit is contained in:
jl777
2019-07-12 06:09:46 -11:00
parent 39fdf6130f
commit 8bc632b4e5
5 changed files with 11 additions and 10 deletions

View File

@@ -2236,7 +2236,7 @@ bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlo
txheight = NSPV_U.U.utxos[i].height;
break;
}
retval = NSPV_gettransaction(1,vout,hash,txheight,txOut,0,0,rewardsum);
retval = NSPV_gettransaction(txheight == 0,vout,hash,txheight,txOut,0,0,rewardsum);
return(retval == 0);
}
// need a GetTransaction without lock so the validation code for assets can run without deadlock