mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-12 01:28:10 +00:00

as suggested by @andrewkozlik: TxAckInputType -> TxInput TxAckOutputType -> TxOutput TxAckPrevTxType -> PrevTx TxAckPrevInputType -> PrevInput TxAckPrevOutputType -> PrevOutput
29 lines
572 B
Python
29 lines
572 B
Python
# Automatically generated by pb2py
|
|
# fmt: off
|
|
from .. import protobuf as p
|
|
|
|
from .PrevInput import PrevInput
|
|
|
|
if __debug__:
|
|
try:
|
|
from typing import Dict, List # noqa: F401
|
|
from typing_extensions import Literal # noqa: F401
|
|
except ImportError:
|
|
pass
|
|
|
|
|
|
class TxAckPrevInputWrapper(p.MessageType):
|
|
|
|
def __init__(
|
|
self,
|
|
*,
|
|
input: PrevInput,
|
|
) -> None:
|
|
self.input = input
|
|
|
|
@classmethod
|
|
def get_fields(cls) -> Dict:
|
|
return {
|
|
2: ('input', PrevInput, p.FLAG_REQUIRED),
|
|
}
|