electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5cfafff55d16cef64a1487c6b3ad6b6eadcd6ac7
parent b16164da4f5c3fc9717073c7bda8e9618c29c5f2
Author: SomberNight <somber.night@protonmail.com>
Date:   Sat, 18 Jan 2020 03:58:15 +0100

qt main_window: rm require_fee_update (dead code)

Diffstat:
Melectrum/gui/qt/main_window.py | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -156,7 +156,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): self.checking_accounts = False self.qr_window = None self.pluginsdialog = None - self.require_fee_update = False self.tl_windows = [] Logger.__init__(self) @@ -403,13 +402,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): if wallet == self.wallet: self.history_model.update_tx_mined_status(tx_hash, tx_mined_status) elif event == 'fee': - if self.config.is_dynfee(): - #self.fee_slider.update() - self.require_fee_update = True + pass elif event == 'fee_histogram': - if self.config.is_dynfee(): - #self.fee_slider.update() - self.require_fee_update = True self.history_model.on_fee_histogram() else: self.logger.info(f"unexpected network event: {event} {args}") @@ -775,10 +769,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): # resolve aliases # FIXME this is a blocking network call that has a timeout of 5 sec self.payto_e.resolve() - # update fee - if self.require_fee_update: - #self.do_update_fee() - self.require_fee_update = False self.notify_transactions() def format_amount(self, x, is_diff=False, whitespaces=False):