From: ThomasV Date: Tue, 15 Oct 2013 08:44:14 +0000 (+0200) Subject: enforce 'chain' parameter in wizard X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=8a4a29dd0c114b8a6bfed52299dfa88bcbc28825;p=electrum-nvc.git enforce 'chain' parameter in wizard --- diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py index 81b1072..4cbae91 100644 --- a/gui/qt/installwizard.py +++ b/gui/qt/installwizard.py @@ -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)