1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 05:18:08 +00:00
trezor-firmware/python/src/trezorlib/messages/TxAckPrevExtraData.py

30 lines
648 B
Python
Raw Normal View History

2020-09-14 11:56:11 +00:00
# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
from .TxAckPrevExtraDataWrapper import TxAckPrevExtraDataWrapper
if __debug__:
try:
from typing import Dict, List # noqa: F401
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
class TxAckPrevExtraData(p.MessageType):
MESSAGE_WIRE_TYPE = 22
def __init__(
self,
*,
tx: TxAckPrevExtraDataWrapper,
) -> None:
self.tx = tx
@classmethod
def get_fields(cls) -> Dict:
return {
1: ('tx', TxAckPrevExtraDataWrapper, p.FLAG_REQUIRED),
}