tkivy: storage is already decrypted in on_open_wallet - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit d3b34263cdffb40f84e4bab0e7560bece1078f23
DIR parent fad3bd724ccd84f59ca0c3cd193997ccfe1f3ac6
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 30 Nov 2020 14:16:13 +0100
kivy: storage is already decrypted in on_open_wallet
Diffstat:
M electrum/gui/kivy/main_window.py | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
---
DIR diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py
t@@ -683,11 +683,7 @@ class ElectrumWindow(App, Logger):
wizard.bind(on_wizard_complete=self.on_wizard_complete)
wizard.run('new')
else:
- try:
- storage.decrypt(pw)
- except StorageReadWriteError:
- app.show_error(_("R/W error accessing path"))
- return
+ assert storage.is_past_initial_decryption()
self.password = pw
self._on_decrypted_storage(storage)