diff --git a/src/main.cpp b/src/main.cpp index 4dba65c1a..6f84e5a39 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2236,7 +2236,7 @@ bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlo txheight = NSPV_U.U.utxos[i].height; 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); } // need a GetTransaction without lock so the validation code for assets can run without deadlock