1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-12 02:31:05 +00:00
trezor-firmware/python/src/trezorlib/messages/TxAckInput.py

31 lines
636 B
Python
Raw Normal View History

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