mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-26 00:08:10 +00:00
15 lines
436 B
Python
15 lines
436 B
Python
|
# Automatically generated by pb2py
|
||
|
from __future__ import absolute_import
|
||
|
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
|