mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
apps/management/load_device: fix load_mnemonic
This commit is contained in:
parent
58f48f8ade
commit
32c74e6e9a
@ -24,9 +24,10 @@ async def layout_load_device(ctx, msg):
|
|||||||
ui.BOLD, 'Loading private seed', 'is not recommended.',
|
ui.BOLD, 'Loading private seed', 'is not recommended.',
|
||||||
ui.NORMAL, 'Continue only if you', 'know what you are doing!'))
|
ui.NORMAL, 'Continue only if you', 'know what you are doing!'))
|
||||||
|
|
||||||
storage.load_mnemonic(msg.mnemonic)
|
storage.load_mnemonic(
|
||||||
storage.load_settings(use_passphrase=msg.passphrase_protection,
|
mnemonic=msg.mnemonic, needs_backup=True)
|
||||||
label=msg.label)
|
storage.load_settings(
|
||||||
|
use_passphrase=msg.passphrase_protection, label=msg.label)
|
||||||
if msg.pin:
|
if msg.pin:
|
||||||
config.change_pin(pin_to_int(''), pin_to_int(msg.pin), None)
|
config.change_pin(pin_to_int(''), pin_to_int(msg.pin), None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user