From d304ce41cfc5599720f834efc99b3d558fecced5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 10 Jul 2019 07:46:10 -1100 Subject: [PATCH] -prints --- src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f81b04bbc..8f0225f27 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2222,8 +2222,10 @@ bool myGetTransaction(const uint256 &hash, CTransaction &txOut, uint256 &hashBlo memset(&hashBlock,0,sizeof(hashBlock)); if ( KOMODO_NSPV != 0 ) { - int64_t rewardsum = 0; - return(NSPV_gettransaction(1,0,hash,0,txOut,0,0,rewardsum) == 0); + int64_t rewardsum = 0; int32_t retval,vout = 0; + retval = NSPV_gettransaction(1,vout,hash,0,txOut,0,0,rewardsum); + fprintf(stderr,"myGetTransaction retval.%d\n",retval); + return(retval == 0); } // need a GetTransaction without lock so the validation code for assets can run without deadlock {