Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
b9432f4ee8
  1. 5
      iguana/main.c

5
iguana/main.c

@ -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);
}
}

Loading…
Cancel
Save