mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 13:58:08 +00:00
14 lines
421 B
Python
14 lines
421 B
Python
|
# Automatically generated by pb2py
|
||
|
from __future__ import absolute_import
|
||
|
from .. import protobuf as p
|
||
|
|
||
|
|
||
|
class SignMessage(p.MessageType):
|
||
|
FIELDS = {
|
||
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||
|
2: ('message', p.BytesType, 0), # required
|
||
|
3: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
||
|
4: ('script_type', p.UVarintType, 0), # default=0
|
||
|
}
|
||
|
MESSAGE_WIRE_TYPE = 38
|