From 2def2d9b692f21baa79e02f6efd5d14a4a763428 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 12 Jul 2019 06:15:36 -1100 Subject: [PATCH] Relax mygettx --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 64459e6ba..4dba65c1a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 {