mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-23 16:08:17 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
15 lines
490 B
Python
15 lines
490 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
from .MultisigRedeemScriptType import MultisigRedeemScriptType
|
|
|
|
|
|
class GetAddress(p.MessageType):
|
|
FIELDS = {
|
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
|
2: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
|
3: ('show_display', p.BoolType, 0),
|
|
4: ('multisig', MultisigRedeemScriptType, 0),
|
|
5: ('script_type', p.UVarintType, 0), # default=0
|
|
}
|
|
MESSAGE_WIRE_TYPE = 29
|