Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
ad456a70e6
  1. 4
      iguana/iguana777.c

4
iguana/iguana777.c

@ -425,12 +425,12 @@ void iguana_update_balances(struct iguana_info *coin)
max = coin->bundlescount; max = coin->bundlescount;
if ( coin->bundles[max-1] != 0 && coin->bundles[max-1]->emitfinish <= 1 && coin->RTheight == 0 ) if ( coin->bundles[max-1] != 0 && coin->bundles[max-1]->emitfinish <= 1 && coin->RTheight == 0 )
max--; max--;
if ( iguana_balancefinished(coin) < max && iguana_spendvectorsaves(coin) == 0 ) if ( iguana_balancefinished(coin) <= max && iguana_spendvectorsaves(coin) == 0 )
{ {
if ( coin->origbalanceswritten <= 1 ) if ( coin->origbalanceswritten <= 1 )
hdrsi = 0; hdrsi = 0;
else hdrsi = coin->origbalanceswritten; else hdrsi = coin->origbalanceswritten;
for (i=0; i<max; i++) for (i=0; i<=max; i++)
if ( (bp= coin->bundles[i]) != 0 && bp != coin->current ) if ( (bp= coin->bundles[i]) != 0 && bp != coin->current )
{ {
iguana_volatilespurge(coin,&bp->ramchain); iguana_volatilespurge(coin,&bp->ramchain);

Loading…
Cancel
Save