mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-30 10:08:18 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
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
|