electrum

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

commit fd09033890f44f6279385d79309410299cacb9ca
parent 720519f610e7a3619710399781ad906140804d9e
Author: SomberNight <somber.night@protonmail.com>
Date:   Mon,  6 May 2019 21:10:52 +0200

kivy: fix a race at startup

on_history (fx) races with load_wallet

Diffstat:
Melectrum/gui/kivy/main_window.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py @@ -180,7 +180,8 @@ class ElectrumWindow(App): def on_history(self, d): Logger.info("on_history") - self.wallet.clear_coin_price_cache() + if self.wallet: + self.wallet.clear_coin_price_cache() self._trigger_update_history() def on_fee_histogram(self, *args):