mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
apps.management: explain LoadDevice.node
This commit is contained in:
parent
7378d763f0
commit
87dbf8442e
@ -14,6 +14,9 @@ async def layout_load_device(message, session_id):
|
|||||||
if storage.is_initialized():
|
if storage.is_initialized():
|
||||||
raise wire.FailureError(UnexpectedMessage, 'Already initialized')
|
raise wire.FailureError(UnexpectedMessage, 'Already initialized')
|
||||||
|
|
||||||
|
if hasattr(message, 'node'):
|
||||||
|
raise wire.FailureError(Other, 'LoadDevice.node is not supported')
|
||||||
|
|
||||||
skip_checksum = getattr(message, 'skip_checksum', False)
|
skip_checksum = getattr(message, 'skip_checksum', False)
|
||||||
mnemonic = getattr(message, 'mnemonic')
|
mnemonic = getattr(message, 'mnemonic')
|
||||||
pin = getattr(message, 'pin', None)
|
pin = getattr(message, 'pin', None)
|
||||||
|
Loading…
Reference in New Issue
Block a user