1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-12 09:38:08 +00:00
trezor-firmware/src/trezor/messages/PassphraseAck.py
2018-02-26 17:20:48 +01:00

21 lines
467 B
Python

# Automatically generated by pb2py
import protobuf as p
class PassphraseAck(p.MessageType):
FIELDS = {
1: ('passphrase', p.UnicodeType, 0), # required
2: ('state', p.BytesType, 0),
}
MESSAGE_WIRE_TYPE = 42
def __init__(
self,
passphrase: str = None,
state: bytes = None,
**kwargs,
):
self.passphrase = passphrase
self.state = state
p.MessageType.__init__(self, **kwargs)