From 725c260572c6e7d90c5b369d02620e6386f0a1f8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 10 Jul 2019 07:57:39 -1100 Subject: [PATCH] Print --- src/komodo_nSPV_wallet.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index 7b8627c9a..9b494164c 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -84,7 +84,9 @@ int32_t NSPV_gettransaction(int32_t skipvalidation,int32_t vout,uint256 txid,int fprintf(stderr,"extradata %.8f vs rewards %.8f\n",dstr(extradata),dstr(rewards)); rewardsum += rewards; } - fprintf(stderr,"txid.%s vs hash.%s\n",txid.GetHex().c_str(),tx.GetHash().GetHex().c_str()); + char coinaddr[64]; + Getscriptaddress(coinaddr,tx.vout[0].scriptPubKey); + fprintf(stderr,"%s txid.%s vs hash.%s\n",coinaddr,txid.GetHex().c_str(),tx.GetHash().GetHex().c_str()); if ( skipvalidation == 0 ) {