1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 19:38:15 +00:00
trezor-firmware/trezorlib/messages/StellarSignedTx.py

19 lines
424 B
Python
Raw Normal View History

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