mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
update protobuf
This commit is contained in:
parent
ab5e4eee34
commit
3ac96f5b00
@ -9,5 +9,6 @@ class ApplySettings(p.MessageType):
|
|||||||
2: ('label', p.UnicodeType, 0),
|
2: ('label', p.UnicodeType, 0),
|
||||||
3: ('use_passphrase', p.BoolType, 0),
|
3: ('use_passphrase', p.BoolType, 0),
|
||||||
4: ('homescreen', p.BytesType, 0),
|
4: ('homescreen', p.BytesType, 0),
|
||||||
|
5: ('passphrase_source', p.UVarintType, 0),
|
||||||
}
|
}
|
||||||
MESSAGE_WIRE_TYPE = 25
|
MESSAGE_WIRE_TYPE = 25
|
||||||
|
@ -14,5 +14,6 @@ class EthereumSignTx(p.MessageType):
|
|||||||
7: ('data_initial_chunk', p.BytesType, 0),
|
7: ('data_initial_chunk', p.BytesType, 0),
|
||||||
8: ('data_length', p.UVarintType, 0),
|
8: ('data_length', p.UVarintType, 0),
|
||||||
9: ('chain_id', p.UVarintType, 0),
|
9: ('chain_id', p.UVarintType, 0),
|
||||||
|
10: ('tx_type', p.UVarintType, 0),
|
||||||
}
|
}
|
||||||
MESSAGE_WIRE_TYPE = 58
|
MESSAGE_WIRE_TYPE = 58
|
||||||
|
@ -6,5 +6,6 @@ from .. import protobuf as p
|
|||||||
class PassphraseAck(p.MessageType):
|
class PassphraseAck(p.MessageType):
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
1: ('passphrase', p.UnicodeType, 0),
|
1: ('passphrase', p.UnicodeType, 0),
|
||||||
|
2: ('state', p.BytesType, 0),
|
||||||
}
|
}
|
||||||
MESSAGE_WIRE_TYPE = 42
|
MESSAGE_WIRE_TYPE = 42
|
||||||
|
4
trezorlib/messages/PassphraseSourceType.py
Normal file
4
trezorlib/messages/PassphraseSourceType.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Automatically generated by pb2py
|
||||||
|
ASK = 0
|
||||||
|
DEVICE = 1
|
||||||
|
HOST = 2
|
@ -30,6 +30,7 @@ from . import ButtonRequestType
|
|||||||
from . import PinMatrixRequestType
|
from . import PinMatrixRequestType
|
||||||
from . import RecoveryDeviceType
|
from . import RecoveryDeviceType
|
||||||
from . import WordRequestType
|
from . import WordRequestType
|
||||||
|
from . import PassphraseSourceType
|
||||||
from . import NEMMosaicLevy
|
from . import NEMMosaicLevy
|
||||||
from . import NEMSupplyChangeType
|
from . import NEMSupplyChangeType
|
||||||
from . import NEMModificationType
|
from . import NEMModificationType
|
||||||
|
Loading…
Reference in New Issue
Block a user