1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-11 15:12:44 +00:00
trezor-firmware/python/src/trezorlib/messages/NextU2FCounter.py

27 lines
562 B
Python
Raw Normal View History

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
if __debug__:
try:
from typing import Dict, List # noqa: F401
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
class NextU2FCounter(p.MessageType):
MESSAGE_WIRE_TYPE = 81
def __init__(
self,
u2f_counter: int = None,
) -> None:
self.u2f_counter = u2f_counter
@classmethod
def get_fields(cls) -> Dict:
return {
1: ('u2f_counter', p.UVarintType, 0),
}