From dfe9a78896766f23f1d87b75c4507a312c346714 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 5 Jul 2017 12:01:25 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 49ce1c3ea..93beef3d5 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -367,7 +367,7 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int printf("detected %s firstrefht.%d < firstscanht.%d\n",coin->symbol,coin->firstrefht,coin->firstscanht); coin->lastscanht = coin->firstscanht = coin->firstrefht; } - if ( coin->lastscanht == coin->longestchain ) + if ( coin->lastscanht == coin->longestchain+1 ) continue; else if ( coin->lastscanht > coin->longestchain+1 ) {