1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00
trezor-firmware/src/trezor/messages/LoadDevice.py
2016-10-24 15:45:05 +02:00

15 lines
522 B
Python

# Automatically generated by pb2py
import protobuf as p
from micropython import const
from .HDNodeType import HDNodeType
t = p.MessageType('LoadDevice')
t.wire_type = const(13)
t.add_field(1, 'mnemonic', p.UnicodeType)
t.add_field(2, 'node', p.EmbeddedMessage(HDNodeType))
t.add_field(3, 'pin', p.UnicodeType)
t.add_field(4, 'passphrase_protection', p.BoolType)
t.add_field(5, 'language', p.UnicodeType, default=u'english')
t.add_field(6, 'label', p.UnicodeType)
t.add_field(7, 'skip_checksum', p.BoolType)
LoadDevice = t