1
0

add debug option to avoid retyping the seed in kivy

This commit is contained in:
ThomasV
2020-11-30 14:37:32 +01:00
parent d3b34263cd
commit 3d2736b014
3 changed files with 3 additions and 2 deletions

View File

@@ -721,7 +721,7 @@ class BaseWizard(Logger):
def confirm_seed(self, seed, passphrase):
f = lambda x: self.confirm_passphrase(seed, passphrase)
self.confirm_seed_dialog(run_next=f, test=lambda x: x==seed)
self.confirm_seed_dialog(run_next=f, seed=seed if self.config.get('debug_seed') else '', test=lambda x: x==seed)
def confirm_passphrase(self, seed, passphrase):
f = lambda x: self.run('create_keystore', seed, x)