mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 05:18:08 +00:00
30 lines
648 B
Python
30 lines
648 B
Python
|
# 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),
|
||
|
}
|