1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

vendor: trezor-common update; protobuf: regen

This commit is contained in:
Tomas Susanka 2018-08-21 14:32:37 +02:00
parent 3ceb9c42ee
commit 0323355299
6 changed files with 5 additions and 48 deletions

View File

@ -12,7 +12,7 @@ if __debug__:
List = None # type: ignore
class CardanoSignTransaction(p.MessageType):
class CardanoSignTx(p.MessageType):
MESSAGE_WIRE_TYPE = 303
FIELDS = {
1: ('inputs', CardanoTxInputType, p.FLAG_REPEATED),

View File

@ -3,7 +3,7 @@
import protobuf as p
class CardanoSignedTransaction(p.MessageType):
class CardanoSignedTx(p.MessageType):
MESSAGE_WIRE_TYPE = 310
FIELDS = {
1: ('tx_hash', p.BytesType, 0),

View File

@ -93,8 +93,6 @@ TezosSignTx = 152
TezosSignedTx = 153
TezosGetPublicKey = 154
TezosPublicKey = 155
StellarGetPublicKey = 200
StellarPublicKey = 201
StellarSignTx = 202
StellarTxOpRequest = 203
StellarGetAddress = 207
@ -114,14 +112,14 @@ StellarSignedTx = 230
CardanoSignMessage = 300
CardanoMessageSignature = 301
CardanoVerifyMessage = 302
CardanoSignTransaction = 303
CardanoSignTx = 303
CardanoTxRequest = 304
CardanoGetPublicKey = 305
CardanoPublicKey = 306
CardanoGetAddress = 307
CardanoAddress = 308
CardanoTxAck = 309
CardanoSignedTransaction = 310
CardanoSignedTx = 310
OntologyGetAddress = 350
OntologyAddress = 351
OntologyGetPublicKey = 352

View File

@ -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 StellarGetPublicKey(p.MessageType):
MESSAGE_WIRE_TYPE = 200
FIELDS = {
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
2: ('show_display', p.BoolType, 0),
}
def __init__(
self,
address_n: List[int] = None,
show_display: bool = None,
) -> None:
self.address_n = address_n if address_n is not None else []
self.show_display = show_display

View File

@ -1,16 +0,0 @@
# Automatically generated by pb2py
# fmt: off
import protobuf as p
class StellarPublicKey(p.MessageType):
MESSAGE_WIRE_TYPE = 201
FIELDS = {
1: ('public_key', p.BytesType, 0),
}
def __init__(
self,
public_key: bytes = None,
) -> None:
self.public_key = public_key

@ -1 +1 @@
Subproject commit 564310d34d799f88f391573fd43eeea3d95a43c3
Subproject commit 3167bd63e389f1c27fe6ae07f1b87b5fbb889a61