wizard restore: abort if wallet is None
This commit is contained in:
@@ -546,6 +546,8 @@ class InstallWizard(QDialog):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
wallet = run_hook('installwizard_restore', self, self.storage)
|
wallet = run_hook('installwizard_restore', self, self.storage)
|
||||||
|
if not wallet:
|
||||||
|
return
|
||||||
|
|
||||||
# create first keys offline
|
# create first keys offline
|
||||||
self.waiting_dialog(wallet.synchronize)
|
self.waiting_dialog(wallet.synchronize)
|
||||||
|
|||||||
Reference in New Issue
Block a user