jl777 7 years ago
parent
commit
f279a32590
  1. 7
      iguana/exchanges/LP_nativeDEX.c

7
iguana/exchanges/LP_nativeDEX.c

@ -646,14 +646,11 @@ void LP_coinsloop(void *_coins)
for (j=0; j<100; j++) for (j=0; j<100; j++)
{ {
if ( LP_blockinit(coin,coin->lastscanht) < 0 ) if ( LP_blockinit(coin,coin->lastscanht) < 0 )
{
static uint32_t counter;
if ( counter++ < 3 )
{ {
printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht); printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht);
sleep(1); sleep(1);
} j--;
break; continue;
} }
coin->lastscanht++; coin->lastscanht++;
if ( coin->lastscanht == coin->longestchain+1 || strcmp("BTC",coins) == 0 ) if ( coin->lastscanht == coin->longestchain+1 || strcmp("BTC",coins) == 0 )

Loading…
Cancel
Save