mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-11 23:22:50 +00:00
17 lines
299 B
Python
17 lines
299 B
Python
# Automatically generated by pb2py
|
|
# fmt: off
|
|
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
|