wizard: fix typo
This commit is contained in:
parent
dc919e9177
commit
058e49e839
|
@ -105,9 +105,9 @@ class BaseWizard(object):
|
||||||
self.multisig_dialog(run_next=on_multisig)
|
self.multisig_dialog(run_next=on_multisig)
|
||||||
|
|
||||||
def choose_keystore(self):
|
def choose_keystore(self):
|
||||||
|
assert self.wallet_type in ['standard', 'multisig']
|
||||||
title = _('Keystore')
|
title = _('Keystore')
|
||||||
message = _('Do you want to create a new seed, or to restore a wallet using an existing seed?')
|
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 = [
|
choices = [
|
||||||
('create_seed', _('Create a new seed')),
|
('create_seed', _('Create a new seed')),
|
||||||
('restore_seed', _('I already have a seed')),
|
('restore_seed', _('I already have a seed')),
|
||||||
|
@ -188,7 +188,7 @@ class BaseWizard(object):
|
||||||
f = lambda seed: self.run('on_bip39_seed', seed)
|
f = lambda seed: self.run('on_bip39_seed', seed)
|
||||||
self.restore_seed_dialog(run_next=f, is_valid=is_valid)
|
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)
|
f = lambda passphrase: self.run('on_bip39_passphrase', seed, passphrase)
|
||||||
self.request_passphrase(self.storage.get('hw_type'), run_next=f)
|
self.request_passphrase(self.storage.get('hw_type'), run_next=f)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue