electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit ee032e9158e7ba1c0938da41d41706f1da24232c
parent 7ee47491b3870d30e0a8c74bce83880c628eddab
Author: ThomasV <thomasv@electrum.org>
Date:   Mon,  1 Aug 2016 17:34:58 +0200

base_wizard: minor fixes

Diffstat:
Mlib/base_wizard.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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)