diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 4a771efc4..b6079da13 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -381,7 +381,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info * } } n = 0; - if ( coin->RTdatabad == 0 && dest != 0 && flag != 0 && coin->RTheight >= coin->longestchain-offset ) + if ( coin->RTdatabad == 0 && dest != 0 && flag != 0 && coin->RTheight >= coin->blocks.hwmchain.height-offset ) { printf("ramchainiterate.[%d] ave %.2f micros, total %.2f seconds starti.%d num.%d\n",num0,(totalmillis0*1000.)/num0,totalmillis0/1000.,coin->RTstarti,coin->RTheight%bp->n); if ( (n= iguana_walkchain(coin,1)) == coin->RTheight-1+offset ) diff --git a/iguana/iguana_spendvectors.c b/iguana/iguana_spendvectors.c index 5e29a4f00..b70b19e5f 100755 --- a/iguana/iguana_spendvectors.c +++ b/iguana/iguana_spendvectors.c @@ -509,7 +509,7 @@ int32_t iguana_balancegen(struct iguana_info *coin,int32_t incremental,struct ig { utxoaddr->RTcredits += u->value; coin->RTcredits += u->value; - printf("[%d] u%u += %.8f\n",bp->hdrsi,u->pkind,dstr(u->value)); + //printf("[%d] u%u += %.8f\n",bp->hdrsi,u->pkind,dstr(u->value)); } else printf("cant find utxoaddr\n"); } } else unspentind += T[txidind].numvouts; diff --git a/iguana/iguana_volatiles.c b/iguana/iguana_volatiles.c index 27349f946..ff80637ba 100755 --- a/iguana/iguana_volatiles.c +++ b/iguana/iguana_volatiles.c @@ -83,7 +83,7 @@ int32_t iguana_utxoupdate(struct iguana_info *coin,int16_t spent_hdrsi,uint32_t { utxoaddr->RTdebits += spent_value; coin->RTdebits += spent_value; - printf("from.%d [%d] u%u -= %.8f\n",fromheight,spent_hdrsi,spent_pkind,dstr(spent_value)); + //printf("from.%d [%d] u%u -= %.8f\n",fromheight,spent_hdrsi,spent_pkind,dstr(spent_value)); } return(0); }