mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
vendor: trezor-common updated; protobuf regen
This commit is contained in:
parent
38bbb9dd83
commit
12a7996364
@ -1,19 +0,0 @@
|
||||
# Automatically generated by pb2py
|
||||
# fmt: off
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class CardanoMessageSignature(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 301
|
||||
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
|
@ -1,25 +0,0 @@
|
||||
# Automatically generated by pb2py
|
||||
# fmt: off
|
||||
import protobuf as p
|
||||
|
||||
if __debug__:
|
||||
try:
|
||||
from typing import List
|
||||
except ImportError:
|
||||
List = None # type: ignore
|
||||
|
||||
|
||||
class CardanoSignMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 300
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('message', p.BytesType, 0),
|
||||
}
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
message: bytes = None,
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.message = message
|
@ -1,22 +0,0 @@
|
||||
# Automatically generated by pb2py
|
||||
# fmt: off
|
||||
import protobuf as p
|
||||
|
||||
|
||||
class CardanoVerifyMessage(p.MessageType):
|
||||
MESSAGE_WIRE_TYPE = 302
|
||||
FIELDS = {
|
||||
1: ('public_key', p.BytesType, 0),
|
||||
2: ('signature', p.BytesType, 0),
|
||||
3: ('message', p.BytesType, 0),
|
||||
}
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
public_key: bytes = None,
|
||||
signature: bytes = None,
|
||||
message: bytes = None,
|
||||
) -> None:
|
||||
self.public_key = public_key
|
||||
self.signature = signature
|
||||
self.message = message
|
2
vendor/trezor-common
vendored
2
vendor/trezor-common
vendored
@ -1 +1 @@
|
||||
Subproject commit b6f59d351a2007a9bc80a7cdef64669a87c17739
|
||||
Subproject commit 843facd2c18b22cefea2ba6e14cbad509d91988f
|
Loading…
Reference in New Issue
Block a user