From fa8a1412f1f4118be8fd569ef2c28395da3745ea Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 14 Oct 2017 21:47:56 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_remember.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_remember.c b/iguana/exchanges/LP_remember.c index 1785676a6..fc3c7598c 100644 --- a/iguana/exchanges/LP_remember.c +++ b/iguana/exchanges/LP_remember.c @@ -645,7 +645,8 @@ int32_t LP_rswap_init(struct LP_swap_remember *rswap,uint32_t requestid,uint32_t int32_t _LP_refht_update(struct iguana_info *coin,bits256 txid,int32_t refht) { - if ( refht > 0 && (coin->firstrefht == 0 || refht < coin->firstrefht) ) + refht -= 9; + if ( refht > 10 && (coin->firstrefht == 0 || refht < coin->firstrefht) ) { char str[65]; printf(">>>>>>>>. 1st refht %s %s <- %d, scan %d %d\n",coin->symbol,bits256_str(str,txid),refht,coin->firstscanht,coin->lastscanht); if ( coin->firstscanht == 0 || refht < coin->firstscanht )