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