1
0
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:
Aleksey Popov 2018-06-07 15:26:59 +03:00
parent c0f71d3d03
commit de552b19f5
No known key found for this signature in database
GPG Key ID: 4ABD4AD9EEFF0131

View File

@ -5,17 +5,17 @@ import protobuf as p
class LiskVerifyMessage(p.MessageType):
MESSAGE_WIRE_TYPE = 120
FIELDS = {
1: ('signature', p.BytesType, 0),
2: ('public_key', p.BytesType, 0),
1: ('public_key', p.BytesType, 0),
2: ('signature', p.BytesType, 0),
3: ('message', p.BytesType, 0),
}
def __init__(
self,
signature: bytes = None,
public_key: bytes = None,
signature: bytes = None,
message: bytes = None
) -> None:
self.signature = signature
self.public_key = public_key
self.signature = signature
self.message = message