From ee032e9158e7ba1c0938da41d41706f1da24232c Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 1 Aug 2016 17:34:58 +0200 Subject: [PATCH] base_wizard: minor fixes --- lib/base_wizard.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/base_wizard.py b/lib/base_wizard.py index 3b8e8cae8..b6d14ec06 100644 --- a/lib/base_wizard.py +++ b/lib/base_wizard.py @@ -227,6 +227,7 @@ class BaseWizard(object): self.storage.put('wallet_type', self.multisig_type) self.wallet = Multisig_Wallet(self.storage) self.wallet.add_cosigner('x1/', text, password) + self.stack = [] self.run('show_xpub_and_add_cosigners', (password,)) def show_xpub_and_add_cosigners(self, password): @@ -239,7 +240,10 @@ class BaseWizard(object): def on_cosigner(self, text, password): i = self.wallet.get_missing_cosigner() - self.wallet.add_cosigner('x%d/'%i, text, password) + try: + self.wallet.add_cosigner('x%d/'%i, text, password) + except BaseException as e: + print "error:" + e i = self.wallet.get_missing_cosigner() if i: self.run('add_cosigners', password)