mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
cf396e3661
This separates the regeneration step from the build/install step. This is to simplify bootstrapping: trezorlib is needed in several build/test steps, and bound to be needed in more. It should be usable and installable straight from the checkout.
26 lines
623 B
Python
26 lines
623 B
Python
# Automatically generated by pb2py
|
|
# fmt: off
|
|
from .. import protobuf as p
|
|
|
|
|
|
class EosSignedTx(p.MessageType):
|
|
MESSAGE_WIRE_TYPE = 605
|
|
|
|
def __init__(
|
|
self,
|
|
signature_v: int = None,
|
|
signature_r: bytes = None,
|
|
signature_s: bytes = None,
|
|
) -> None:
|
|
self.signature_v = signature_v
|
|
self.signature_r = signature_r
|
|
self.signature_s = signature_s
|
|
|
|
@classmethod
|
|
def get_fields(cls):
|
|
return {
|
|
1: ('signature_v', p.UVarintType, 0),
|
|
2: ('signature_r', p.BytesType, 0),
|
|
3: ('signature_s', p.BytesType, 0),
|
|
}
|