diff --git a/src/komodo_nSPV_superlite.h b/src/komodo_nSPV_superlite.h index 35b16182b..910d3ef84 100644 --- a/src/komodo_nSPV_superlite.h +++ b/src/komodo_nSPV_superlite.h @@ -59,9 +59,7 @@ void komodo_nSPVresp(CNode *pfrom,std::vector response) // received a r NSPV_inforesult = I; } else if ( NSPV_inforesult.height > I.height ) - { - NSPV_lastinfo = 0; - } + NSPV_lastinfo = timestamp - ASSETCHAINS_BLOCKTIME/4; break; case NSPV_UTXOSRESP: NSPV_utxosresp_purge(&NSPV_utxosresult); @@ -476,14 +474,14 @@ UniValue NSPV_txproof(int32_t vout,uint256 txid,int32_t height) len += iguana_rwnum(1,&msg[len],sizeof(height),&height); len += iguana_rwnum(1,&msg[len],sizeof(vout),&vout); len += iguana_rwbignum(1,&msg[len],sizeof(txid),(uint8_t *)&txid); - //fprintf(stderr,"req txproof %s/v%d at height.%d\n",txid.GetHex().c_str(),vout,height); + fprintf(stderr,"req txproof %s/v%d at height.%d\n",txid.GetHex().c_str(),vout,height); for (iter=0; iter<3; iter++); if ( NSPV_req(0,msg,len,NODE_NSPV,msg[0]>>1) != 0 ) { for (i=0; i