1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 08:08:51 +00:00
trezor-firmware/trezorlib/messages/Entropy.py

16 lines
305 B
Python
Raw Normal View History

# Automatically generated by pb2py
from .. import protobuf as p
class Entropy(p.MessageType):
MESSAGE_WIRE_TYPE = 10
FIELDS = {
1: ('entropy', p.BytesType, 0), # required
}
def __init__(
self,
entropy: bytes = None
) -> None:
self.entropy = entropy