tbase_wizard: minor fixes - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit ee032e9158e7ba1c0938da41d41706f1da24232c (DIR) parent 7ee47491b3870d30e0a8c74bce83880c628eddab (HTM) Author: ThomasV <thomasv@electrum.org> Date: Mon, 1 Aug 2016 17:34:58 +0200 base_wizard: minor fixes Diffstat: M lib/base_wizard.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- (DIR) diff --git a/lib/base_wizard.py b/lib/base_wizard.py t@@ -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): t@@ -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)