ttrustedcoin: fix two-step wallet creation (offline->online) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1851ec962f6a6e42fbb464505122106bb12e7af3 DIR parent e3ea0f6241088c3c7fd3b2b72ae6643a0f4c9de7 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 9 Dec 2020 18:31:08 +0100 ttrustedcoin: fix two-step wallet creation (offline->online) got broken in c46fbf08a525988f1a2f175906e00f084426c4ab Diffstat: M electrum/plugins/trustedcoin/qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum/plugins/trustedcoin/qt.py b/electrum/plugins/trustedcoin/qt.py t@@ -44,7 +44,7 @@ from electrum.i18n import _ from electrum.plugin import hook from electrum.util import is_valid_email from electrum.logging import Logger -from electrum.base_wizard import GoBack +from electrum.base_wizard import GoBack, UserCancelled from .trustedcoin import TrustedCoinPlugin, server t@@ -229,7 +229,7 @@ class Plugin(TrustedCoinPlugin): wizard.reset_stack() try: wizard.confirm_dialog(title='', message=msg, run_next = lambda x: wizard.run('accept_terms_of_use')) - except GoBack: + except (GoBack, UserCancelled): # user clicked 'Cancel' and decided to move wallet file manually storage, db = wizard.create_storage(wizard.path) raise