Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9bf036c61e
  1. 4
      iguana/iguana_unspents.c

4
iguana/iguana_unspents.c

@ -2416,9 +2416,9 @@ int32_t iguana_realtime_update(struct iguana_info *coin)
bp = coin->current; bp = coin->current;
if ( bp == 0 || iguana_validated(coin) < bp->hdrsi ) if ( bp == 0 || iguana_validated(coin) < bp->hdrsi )
return(0); return(0);
if ( 1 && coin->RTheight > 0 && coin->spendvectorsaved != 1 && coin->bundlescount != coin->balanceswritten ) if ( 1 && coin->RTheight > 0 && coin->spendvectorsaved != 1 && coin->bundlescount-1 != coin->balanceswritten )
{ {
printf("RT mismatch %d != %d\n",coin->bundlescount,coin->balanceswritten); printf("RT mismatch %d != %d\n",coin->bundlescount-1,coin->balanceswritten);
coin->spendvectorsaved = 0; coin->spendvectorsaved = 0;
iguana_RTramchainfree(coin,coin->current); iguana_RTramchainfree(coin,coin->current);
return(0); return(0);

Loading…
Cancel
Save