From 448d2eb548f19669dbdd71d1e96b74d62b0f8d06 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 12 Jul 2014 19:41:57 +0200 Subject: [PATCH] wizard restore: abort if wallet is None --- gui/qt/installwizard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 06f7190c2..2b074f81d 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -546,6 +546,8 @@ class InstallWizard(QDialog): else: wallet = run_hook('installwizard_restore', self, self.storage) + if not wallet: + return # create first keys offline self.waiting_dialog(wallet.synchronize)