This commit is contained in:
jl777
2019-07-12 06:16:01 -11:00
parent 2def2d9b69
commit a5b391fb89

View File

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