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

11
iguana/exchanges/LP_nativeDEX.c

@ -647,13 +647,10 @@ void LP_coinsloop(void *_coins)
{ {
if ( LP_blockinit(coin,coin->lastscanht) < 0 ) if ( LP_blockinit(coin,coin->lastscanht) < 0 )
{ {
static uint32_t counter; printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht);
if ( counter++ < 3 ) sleep(1);
{ j--;
printf("blockinit.%s %d error\n",coin->symbol,coin->lastscanht); continue;
sleep(1);
}
break;
} }
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