1
0
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:
Jan Pochyla 2016-11-16 14:23:50 +01:00
parent 7378d763f0
commit 87dbf8442e

View File

@ -14,6 +14,9 @@ async def layout_load_device(message, session_id):
if storage.is_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)
mnemonic = getattr(message, 'mnemonic')
pin = getattr(message, 'pin', None)