mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-25 15:58:08 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
18 lines
547 B
Python
18 lines
547 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
from .HDNodeType import HDNodeType
|
|
|
|
|
|
class LoadDevice(p.MessageType):
|
|
FIELDS = {
|
|
1: ('mnemonic', p.UnicodeType, 0),
|
|
2: ('node', HDNodeType, 0),
|
|
3: ('pin', p.UnicodeType, 0),
|
|
4: ('passphrase_protection', p.BoolType, 0),
|
|
5: ('language', p.UnicodeType, 0), # default='english'
|
|
6: ('label', p.UnicodeType, 0),
|
|
7: ('skip_checksum', p.BoolType, 0),
|
|
8: ('u2f_counter', p.UVarintType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 13
|