From 9fe21aae6000f124aafc985beea15869af3b92b3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 6 Dec 2017 16:45:07 +0400 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index a7e11ec6c..133f81a46 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -618,7 +618,7 @@ void LP_coinsloop(void *_coins) continue; } nonz++; - if ( 0 && coin->lastscanht < coin->longestchain-3 ) + if ( strcmp("BTC",coins) == 0 )//&& coin->lastscanht < coin->longestchain-3 ) printf("[%s]: %s ref.%d scan.%d to %d, longest.%d\n",coins,coin->symbol,coin->firstrefht,coin->firstscanht,coin->lastscanht,coin->longestchain); for (j=0; j<100; j++) { @@ -630,7 +630,7 @@ void LP_coinsloop(void *_coins) break; } coin->lastscanht++; - if ( coin->lastscanht == coin->longestchain+1 ) + if ( coin->lastscanht == coin->longestchain+1 || strcmp("BTC",coins) == 0 ) break; } }