Browse Source

wizard: allow segwit seed as cosigner

seed_v14
ThomasV 7 years ago
parent
commit
6e0e5a8d57
  1. 3
      lib/base_wizard.py

3
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):

Loading…
Cancel
Save