1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 11:39:03 +00:00
trezor-firmware/trezorlib/messages/GetEntropy.py

16 lines
295 B
Python
Raw Normal View History

# Automatically generated by pb2py
from .. import protobuf as p
class GetEntropy(p.MessageType):
MESSAGE_WIRE_TYPE = 9
FIELDS = {
1: ('size', p.UVarintType, 0), # required
}
def __init__(
self,
size: int = None
) -> None:
self.size = size