1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 12:08:59 +00:00
trezor-firmware/python/src/trezorlib/messages/TxAckInputWrapper.py

29 lines
560 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 .TxInput import TxInput
2020-09-14 11:56:11 +00:00
if __debug__:
try:
from typing import Dict, List # noqa: F401
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
class TxAckInputWrapper(p.MessageType):
def __init__(
self,
*,
input: TxInput,
2020-09-14 11:56:11 +00:00
) -> None:
self.input = input
@classmethod
def get_fields(cls) -> Dict:
return {
2: ('input', TxInput, p.FLAG_REQUIRED),
2020-09-14 11:56:11 +00:00
}