enforce 'chain' parameter in wizard
authorThomasV <thomasv@gitorious>
Tue, 15 Oct 2013 08:44:14 +0000 (10:44 +0200)
committerThomasV <thomasv@gitorious>
Tue, 15 Oct 2013 08:44:14 +0000 (10:44 +0200)
gui/qt/installwizard.py

index 81b1072..4cbae91 100644 (file)
@@ -294,7 +294,7 @@ class InstallWizard(QDialog):
         elif action == 'watching':
             # ask for seed and gap.
             K, chain = self.mpk_dialog()
-            if not K:
+            if not K or not chain:
                 return
             wallet.seed = ''
             wallet.create_watching_only_wallet(chain,K)