mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 18:00:59 +00:00
app.lisk: update LiskVerifyMessage message
This commit is contained in:
parent
c0f71d3d03
commit
de552b19f5
@ -5,17 +5,17 @@ import protobuf as p
|
|||||||
class LiskVerifyMessage(p.MessageType):
|
class LiskVerifyMessage(p.MessageType):
|
||||||
MESSAGE_WIRE_TYPE = 120
|
MESSAGE_WIRE_TYPE = 120
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
1: ('signature', p.BytesType, 0),
|
1: ('public_key', p.BytesType, 0),
|
||||||
2: ('public_key', p.BytesType, 0),
|
2: ('signature', p.BytesType, 0),
|
||||||
3: ('message', p.BytesType, 0),
|
3: ('message', p.BytesType, 0),
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
signature: bytes = None,
|
|
||||||
public_key: bytes = None,
|
public_key: bytes = None,
|
||||||
|
signature: bytes = None,
|
||||||
message: bytes = None
|
message: bytes = None
|
||||||
) -> None:
|
) -> None:
|
||||||
self.signature = signature
|
|
||||||
self.public_key = public_key
|
self.public_key = public_key
|
||||||
|
self.signature = signature
|
||||||
self.message = message
|
self.message = message
|
||||||
|
Loading…
Reference in New Issue
Block a user