mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-01 03:48:18 +00:00
14 lines
397 B
Python
14 lines
397 B
Python
|
# Automatically generated by pb2py
|
||
|
from .. import protobuf as p
|
||
|
|
||
|
|
||
|
class EncryptMessage(p.MessageType):
|
||
|
FIELDS = {
|
||
|
1: ('pubkey', p.BytesType, 0),
|
||
|
2: ('message', p.BytesType, 0),
|
||
|
3: ('display_only', p.BoolType, 0),
|
||
|
4: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||
|
5: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
||
|
}
|
||
|
MESSAGE_WIRE_TYPE = 49
|