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

22 lines
531 B
Python
Raw Normal View History

2018-04-16 13:44:53 +00:00
# Automatically generated by pb2py
from .. import protobuf as p
class StellarVerifyMessage(p.MessageType):
MESSAGE_WIRE_TYPE = 206
2018-04-16 13:44:53 +00:00
FIELDS = {
1: ('public_key', p.BytesType, 0),
2: ('message', p.BytesType, 0),
3: ('signature', p.BytesType, 0),
}
def __init__(
self,
public_key: bytes = None,
message: bytes = None,
signature: bytes = None
) -> None:
self.public_key = public_key
self.message = message
self.signature = signature