From 8eba304588a91cf902d04b8363352f7b580d19a8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 26 Sep 2017 19:21:58 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index d74288e4c..9fded7317 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -602,7 +602,7 @@ double LP_getestimatedrate(struct iguana_info *coin) return(0.0001); if ( strcmp(coin->symbol,"BTC") == 0 || coin->txfee == 0 || coin->rate == 0. ) { - if ( coin->rate == 0. || time(NULL) > coin->ratetime ) + if ( strcmp(coin->symbol,"BTC") == 0 || coin->rate == 0. || time(NULL) > coin->ratetime ) { sprintf(buf,"[%d]",strcmp(coin->symbol,"BTC") == 0 ? 6 : 2); if ( (retstr= LP_apicall(coin,coin->electrum==0?"estimatefee" : "blockchain.estimatefee",buf)) != 0 )