commit d3b34263cdffb40f84e4bab0e7560bece1078f23 parent fad3bd724ccd84f59ca0c3cd193997ccfe1f3ac6 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(-)
diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py @@ -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)