electrum

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

commit 8872e43f27d92f2ed090b76bd589c7159485e20c
parent 567130f4a37e55769b1b8f8f22348b25affa230b
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 10 Dec 2020 17:21:41 +0100

cleanup, remove if statement (follow-up 13b05f64e6a89b90b80a470538798c116f968170)

Diffstat:
Melectrum/gui/kivy/main_window.py | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py @@ -623,12 +623,11 @@ class ElectrumWindow(App, Logger): return '' def on_wizard_success(self, storage, db, password): - if storage: - self.password = password - wallet = Wallet(db, storage, config=self.electrum_config) - wallet.start_network(self.daemon.network) - self.daemon.add_wallet(wallet) - self.load_wallet(wallet) + self.password = password + wallet = Wallet(db, storage, config=self.electrum_config) + wallet.start_network(self.daemon.network) + self.daemon.add_wallet(wallet) + self.load_wallet(wallet) def on_wizard_aborted(self): # wizard did not return a wallet; and there is no wallet open atm