tfix get_fee_text for static fees - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2f112169863382aa413d865dfad657034a376d7d DIR parent 0de954546ac82fc4b2c474567493b5afb9698a19 HTML Author: SomberNight <somber.night@protonmail.com> Date: Mon, 18 Feb 2019 17:52:50 +0100 fix get_fee_text for static fees mismatching units probably only affects kivy gui; when using static fees Diffstat: M electrum/simple_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/simple_config.py b/electrum/simple_config.py t@@ -403,11 +403,14 @@ class SimpleConfig(PrintError): """Returns (text, tooltip) where text is what we target: static fee / num blocks to confirm in / mempool depth tooltip is the corresponding estimate (e.g. num blocks for a static fee) + + fee_rate is in sat/kbyte """ if fee_rate is None: rate_str = 'unknown' else: - rate_str = format_fee_satoshis(fee_rate/1000) + ' sat/byte' + fee_rate = fee_rate/1000 + rate_str = format_fee_satoshis(fee_rate) + ' sat/byte' if dyn: if mempool: