Relax mygettx

This commit is contained in:
jl777
2019-07-12 06:15:36 -11:00
parent 8bc632b4e5
commit 2def2d9b69

View File

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