|
|
@ -377,7 +377,7 @@ void mainloop(struct supernet_info *myinfo) |
|
|
|
{ |
|
|
|
for (j=0; j<n; j++) |
|
|
|
{ |
|
|
|
if ( (bp= coin->bundles[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); |
|
|
|
} |
|
|
|
} |
|
|
|