From d3b34263cdffb40f84e4bab0e7560bece1078f23 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 30 Nov 2020 14:16:13 +0100 Subject: [PATCH] kivy: storage is already decrypted in on_open_wallet --- 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 index f08e49050..f700a0547 100644 --- 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)