tenforce 'chain' parameter in wizard - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 8a4a29dd0c114b8a6bfed52299dfa88bcbc28825
DIR parent a9d341ec9c5d8fe48d3a8c718e6c41e9183f0a71
HTML Author: ThomasV <thomasv@gitorious>
Date: Tue, 15 Oct 2013 10:44:14 +0200
enforce 'chain' parameter in wizard
Diffstat:
M gui/qt/installwizard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
t@@ -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)