From 2f4ff0b103aa24b726c24b63943968073dd46c7f Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 7 Jul 2019 01:07:20 -1100 Subject: [PATCH] Print --- src/komodo_nSPV.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 3aa661738..ab358f5d6 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -438,7 +438,12 @@ int32_t NSPV_notarizationextract(int32_t *heightp,uint256 *blockhashp,uint256 *t GetOpReturnData(tx.vout[1].scriptPubKey,opret); if ( opret.size() >= 32*2+4*2 ) *desttxidp = NSPV_opretextract(heightp,blockhashp,symbol,opret,4); - fprintf(stderr,"ntzht.%d %s txid.%s\n",*heightp,(*blockhashp).GetHex().c_str(),(*desttxidp).GetHex().c_str()); + { + int z; + for (z=0; z<68; z++) + fprintf(stderr,"%02x",opret[z]); + } + fprintf(stderr," ntzht.%d %s txid.%s size.%d\n",*heightp,(*blockhashp).GetHex().c_str(),(*desttxidp).GetHex().c_str(),(int32_t)opret.size()); *txidp = tx.GetHash(); return(0); } else return(-1);