diff --git a/src/komodo_nSPV_superlite.h b/src/komodo_nSPV_superlite.h index 21d0c1bc0..597ed3800 100644 --- a/src/komodo_nSPV_superlite.h +++ b/src/komodo_nSPV_superlite.h @@ -460,7 +460,7 @@ void komodo_nSPVresp(CNode *pfrom,std::vector response) // received a r case NSPV_NTZSRESP: NSPV_ntzsresp_purge(&NSPV_ntzsresult); NSPV_rwntzsresp(0,&response[1],&NSPV_ntzsresult); - fprintf(stderr,"got ntzs response %u size.%d\n",timestamp,(int32_t)response.size()); + fprintf(stderr,"got ntzs response %u size.%d prev.%d next.%d\n",timestamp,(int32_t)response.size(),NSPV_ntzsresult.prevntz.height,NSPV_ntzsresult.nextntz.height); break; case NSPV_NTZSPROOFRESP: NSPV_ntzsproofresp_purge(&NSPV_ntzsproofresult); diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index 15ac01cd0..1065224c9 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -71,6 +71,7 @@ int32_t NSPV_gettransaction(uint256 txid,int32_t height,CTransaction &tx) NSPV_notarizations(height); // gets the prev and next notarizations if ( NSPV_ntzsresult.prevntz.height != 0 && NSPV_ntzsresult.prevntz.height <= NSPV_ntzsresult.nextntz.height ) { + fprintf(stderr,"gettx prev.%d next.%d\n",NSPV_ntzsresult.prevntz.height, NSPV_ntzsresult.nextntz.height); NSPV_hdrsproof(NSPV_ntzsresult.prevntz.height,NSPV_ntzsresult.nextntz.height); // validate the segment if ( (retval= NSPV_validatehdrs(&NSPV_ntzsproofresult)) == 0 ) {