electrum

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

commit 93fa9a9d69f3c7965e46a2c8094663a679755e3a
parent d55a0454052a0962e1c1bc1110f8ebd7641f8b58
Author: SomberNight <somber.night@protonmail.com>
Date:   Mon,  4 Mar 2019 02:46:50 +0100

wizard: partial revert of 2da6692f73921f3b651569900a63e9f3ce7fbc57

Diffstat:
Melectrum/gui/qt/installwizard.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/electrum/gui/qt/installwizard.py b/electrum/gui/qt/installwizard.py @@ -283,8 +283,10 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): traceback.print_exc(file=sys.stdout) QMessageBox.information(None, _('Error'), str(e)) raise UserCancelled() - assert self.temp_storage.is_past_initial_decryption() - break + if self.temp_storage.is_past_initial_decryption(): + break + else: + raise UserCancelled() else: raise Exception('Unexpected encryption version')