tfix #2292 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8e90d6a4e53dfa567599b8974f6f1790212a466f DIR parent 96c861919433fec9c2023459c057805e24c0479c HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 15 Mar 2017 12:21:26 +0100 fix #2292 Diffstat: M lib/network.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -548,10 +548,11 @@ class Network(util.DaemonThread): if error is None: self.donation_address = result elif method == 'blockchain.estimatefee': - if error is None: + if error is None and result > 0: i = params[0] - self.config.fee_estimates[i] = int(result * COIN) - self.print_error("fee_estimates[%d]" % i, self.config.fee_estimates[i]) + fee = int(result*COIN) + self.config.fee_estimates[i] = fee + self.print_error("fee_estimates[%d]" % i, fee) self.notify('fee') elif method == 'blockchain.relayfee': if error is None: