1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-03 13:22:33 +00:00
trezor-firmware/core/src/trezor/messages/TxAckPrevInput.py

30 lines
630 B
Python

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