diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 8206043d6..5e138dce5 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -868,7 +868,7 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp,st if ( s->external != 0 && s->prevout >= 0 ) { double startmillis = OS_milliseconds(); static double totalmillis; static int32_t num; - if ( (spentbp= iguana_externalspent(coin,&prevhash,&spent_unspentind,bp,ramchain,bp->hdrsi,s,convertflag != 0 ? 2 : -1)) != 0 && spentbp->ramchain.H.data != 0 ) + if ( (spentbp= iguana_externalspent(coin,&prevhash,&spent_unspentind,bp,ramchain,bp->hdrsi,s,2)) != 0 && spentbp->ramchain.H.data != 0 ) { totalmillis += (OS_milliseconds() - startmillis); if ( (++num % 1000000) == 0 ) @@ -1520,7 +1520,11 @@ int32_t iguana_realtime_update(struct iguana_info *coin) printf("RTutxo error -> RTramchainfree\n"); iguana_RTramchainfree(coin); return(-1); - } else printf("spendvectors calculated to %d\n",coin->RTheight); + } + else + { + printf("spendvectors calculated to %d\n",coin->RTheight); + } while ( block != 0 ) { if ( bits256_cmp(iguana_blockhash(coin,coin->RTheight-n-1),block->RO.hash2) != 0 ) diff --git a/iguana/main.c b/iguana/main.c index 94a0e8ad9..9da98a8e5 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -391,9 +391,9 @@ void mainloop(struct supernet_info *myinfo) iguana_bundleQ(coin,bp,1000); } } - } - } - } + } else printf("skip A j.%d vs n.%d\n",j,n); + } else printf("skip j.%d vs n.%d\n",j,n); + } else printf("skip hdrsi.%d vs %d\n",coin->current->hdrsi,coin->longestchain/coin->chain->bundlesize); n = queue_size(&balancesQ); for (iter=0; iter