From e4bde87d8a0c3d481c7134a369cc8147890c16ee Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 26 Feb 2018 19:18:16 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_instantdex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_instantdex.c b/iguana/exchanges/LP_instantdex.c index 404b04398..1e0a01562 100644 --- a/iguana/exchanges/LP_instantdex.c +++ b/iguana/exchanges/LP_instantdex.c @@ -288,9 +288,9 @@ int64_t LP_claimtx(void *ctx,struct iguana_info *coin,bits256 *claimtxidp,bits25 uint32_t LP_claimtime(struct iguana_info *coin,uint32_t expiration) { uint32_t heighttime,now = (uint32_t)time(NULL); - if ( coin->height > 0 ) + if ( coin->height > 8 ) { - heighttime = LP_heighttime(coin->symbol,coin->height-1); + heighttime = LP_heighttime(coin->symbol,coin->height-8); printf("claimtime: now %u height.%d heighttime.%u expiration.%u\n",now,coin->height,heighttime,expiration); if ( heighttime >= expiration ) return(heighttime + 1);