From ccd17f629f15879b30517d47b18d42cb8b7db386 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 26 Sep 2017 16:28:25 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index 8c626beea..4cf3fbe59 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -613,6 +613,8 @@ double LP_getestimatedrate(struct iguana_info *coin) if ( rate < 0.00000020 ) rate = 0.00000020; coin->rate = rate * 1.25; + if ( coin->electrum != 0 ) + coin->rate *= 2; coin->ratetime = (uint32_t)time(NULL); if ( (rand() % 10) == 0 ) printf("estimated rate.(%s) %s -> %.8f\n",coin->symbol,retstr,rate);