1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 13:12:05 +00:00
trezor-firmware/trezorlib/messages/Initialize.py
matejcik 70172520fb protobuf: update messages from upstream.
This drops sign/verify messages for Lisk and Stellar so we have to
remove the corresponding methods.
2018-05-23 14:04:09 +02:00

19 lines
419 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
class Initialize(p.MessageType):
MESSAGE_WIRE_TYPE = 0
FIELDS = {
1: ('state', p.BytesType, 0),
2: ('skip_passphrase', p.BoolType, 0),
}
def __init__(
self,
state: bytes = None,
skip_passphrase: bool = None
) -> None:
self.state = state
self.skip_passphrase = skip_passphrase