|
|
@ -105,9 +105,9 @@ class BaseWizard(object): |
|
|
|
self.multisig_dialog(run_next=on_multisig) |
|
|
|
|
|
|
|
def choose_keystore(self): |
|
|
|
assert self.wallet_type in ['standard', 'multisig'] |
|
|
|
title = _('Keystore') |
|
|
|
message = _('Do you want to create a new seed, or to restore a wallet using an existing seed?') |
|
|
|
if self.wallet_type in ['standard', 'multisig']: |
|
|
|
choices = [ |
|
|
|
('create_seed', _('Create a new seed')), |
|
|
|
('restore_seed', _('I already have a seed')), |
|
|
@ -188,7 +188,7 @@ class BaseWizard(object): |
|
|
|
f = lambda seed: self.run('on_bip39_seed', seed) |
|
|
|
self.restore_seed_dialog(run_next=f, is_valid=is_valid) |
|
|
|
|
|
|
|
def on_bip_39_seed(self, seed): |
|
|
|
def on_bip39_seed(self, seed): |
|
|
|
f = lambda passphrase: self.run('on_bip39_passphrase', seed, passphrase) |
|
|
|
self.request_passphrase(self.storage.get('hw_type'), run_next=f) |
|
|
|
|
|
|
|