electrum

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

commit 6e0e5a8d57fa8811d64c8cb0b8a57ffda89b2496
parent 306aab8237cba9f6f9eaeb9f9e765408841c327a
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 23 Oct 2017 06:42:34 +0200

wizard: allow segwit seed as cosigner

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

diff --git a/lib/base_wizard.py b/lib/base_wizard.py @@ -270,7 +270,8 @@ class BaseWizard(object): def restore_from_seed(self): self.opt_bip39 = True self.opt_ext = True - test = bitcoin.is_seed if self.wallet_type == 'standard' else bitcoin.is_new_seed + is_cosigning_seed = lambda x: bitcoin.seed_type(x) in ['standard', 'segwit'] + test = bitcoin.is_seed if self.wallet_type == 'standard' else is_cosigning_seed self.restore_seed_dialog(run_next=self.on_restore_seed, test=test) def on_restore_seed(self, seed, is_bip39, is_ext):