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