1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-11 03:18:45 +00:00
trezor-firmware/src/trezor/messages/TxRequest.py
2016-09-27 17:25:55 +02:00

10 lines
433 B
Python

# Automatically generated by pb2py
from protobuf import protobuf as p
from .TxRequestDetailsType import TxRequestDetailsType
from .TxRequestSerializedType import TxRequestSerializedType
t = p.MessageType('TxRequest')
t.wire_type = 21
t.add_field(1, 'request_type', p.UVarintType)
t.add_field(2, 'details', p.EmbeddedMessage(TxRequestDetailsType))
t.add_field(3, 'serialized', p.EmbeddedMessage(TxRequestSerializedType))
TxRequest = t