Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
994f2341bc
  1. 2
      iguana/iguana_init.c
  2. 2
      iguana/main.c

2
iguana/iguana_init.c

@ -333,7 +333,7 @@ void iguana_parseline(struct iguana_info *coin,int32_t iter,FILE *fp)
for (i=0; i<coin->balanceswritten; i++)
if ( (bp= coin->bundles[i]) == 0 || bp->emitfinish <= 1 || bp->utxofinish <= 1 )
break;
if ( i != coin->balanceswritten-1 )
if ( i != coin->balanceswritten )
{
printf("TRUNCATE balances written.%d -> %d\n",coin->balanceswritten,i);
iguana_truncatebalances(coin);

2
iguana/main.c

@ -338,7 +338,7 @@ int32_t iguana_balanceflush(struct iguana_info *coin,int32_t refhdrsi,int32_t pu
break;
if ( hdrsi <= coin->balanceswritten || hdrsi < refhdrsi )
return(0);
numhdrsi = hdrsi+1;
numhdrsi = hdrsi;
vupdate_sha256(balancehash.bytes,&vstate,0,0);
for (iter=0; iter<3; iter++)
{

Loading…
Cancel
Save