diff --git a/iguana/main.c b/iguana/main.c index 121b8a448..94a0e8ad9 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -377,7 +377,7 @@ void mainloop(struct supernet_info *myinfo) { for (j=0; jbundles[j]) == 0 || bp->utxofinish <= 1 ) + if ( (bp= coin->bundles[j]) == 0 || (bp->startutxo == 0 && bp->utxofinish <= 1) ) break; } if ( j != n ) @@ -386,7 +386,8 @@ void mainloop(struct supernet_info *myinfo) { if ( (bp= coin->bundles[j]) != 0 ) { - bp->balancefinish = bp->startutxo = bp->utxofinish = 0; + bp->balancefinish = bp->utxofinish = 0; + bp->startutxo = (uint32_t)time(NULL); iguana_bundleQ(coin,bp,1000); } }