Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
fcaf7748be
  1. 4
      iguana/iguana_realtime.c

4
iguana/iguana_realtime.c

@ -768,9 +768,9 @@ void iguana_RTnewblock(struct supernet_info *myinfo,struct iguana_info *coin,str
iguana_RTbalance_verify("start iterate",coin);
if ( strcmp(coin->symbol,"BTC") != 0 && strcmp(coin->symbol,"LTC") != 0 )
{
if ( block->height < coin->firstRTheight+1 )
if ( block->height < coin->firstRTheight+2 )
return;
if ( (block= iguana_blockfind("RTnew",coin,iguana_blockhash(coin,block->height-1))) == 0 )
if ( (block= iguana_blockfind("RTnew",coin,iguana_blockhash(coin,block->height-2))) == 0 )
return;
}
if ( block->height < coin->firstRTheight || block->height >= coin->firstRTheight+sizeof(coin->RTblocks)/sizeof(*coin->RTblocks) )

Loading…
Cancel
Save