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/EncryptMessage.py
2016-09-27 17:25:55 +02:00

10 lines
390 B
Python

# Automatically generated by pb2py
from protobuf import protobuf as p
t = p.MessageType('EncryptMessage')
t.wire_type = 49
t.add_field(1, 'pubkey', p.BytesType)
t.add_field(2, 'message', p.BytesType)
t.add_field(3, 'display_only', p.BoolType)
t.add_field(4, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
t.add_field(5, 'coin_name', p.UnicodeType, default=u'Bitcoin')
EncryptMessage = t