From adb6365cac7f601a15e180588abc1d1f78945fcb Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Feb 2018 14:39:41 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 012637d46..04bc97462 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -618,7 +618,7 @@ cJSON *LP_importprivkey(char *symbol,char *wifstr,char *label,int32_t flag) double _LP_getestimatedrate(struct iguana_info *coin) { - char buf[512],*retstr=0; int32_t numblocks,err=0; cJSON *errjson,*retjson; double rate = 0.00000010; + char buf[512],*retstr=0; int32_t numblocks,err=0; cJSON *errjson,*retjson; double rate = 0.00000005; if ( coin->rate < 0. || time(NULL) > coin->ratetime+30 ) { if ( coin->estimatefeestr[0] == 0 ) @@ -659,9 +659,9 @@ again: rate = atof(retstr) / 1024.; if ( rate != 0. ) { - if ( rate < 0.00000010 ) - rate = 0.00000010; rate *= 1.5; + if ( rate < 0.00000005 ) + rate = 0.00000005; if ( coin->electrum != 0 ) rate *= 1.5; if ( fabs(rate - coin->rate) > SMALLVAL )