twizard: partial revert of 2da6692f73921f3b651569900a63e9f3ce7fbc57 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 93fa9a9d69f3c7965e46a2c8094663a679755e3a
DIR parent d55a0454052a0962e1c1bc1110f8ebd7641f8b58
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 4 Mar 2019 02:46:50 +0100
wizard: partial revert of 2da6692f73921f3b651569900a63e9f3ce7fbc57
Diffstat:
M electrum/gui/qt/installwizard.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
DIR diff --git a/electrum/gui/qt/installwizard.py b/electrum/gui/qt/installwizard.py
t@@ -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')