mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
6efe4e4418
drop `from future import` in __init__.py, import just the name, not *
15 lines
487 B
Python
15 lines
487 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
|
|
|
|
class SignTx(p.MessageType):
|
|
FIELDS = {
|
|
1: ('outputs_count', p.UVarintType, 0), # required
|
|
2: ('inputs_count', p.UVarintType, 0), # required
|
|
3: ('coin_name', p.UnicodeType, 0), # default='Bitcoin'
|
|
4: ('version', p.UVarintType, 0), # default=1
|
|
5: ('lock_time', p.UVarintType, 0), # default=0
|
|
6: ('decred_expiry', p.UVarintType, 0),
|
|
}
|
|
MESSAGE_WIRE_TYPE = 15
|