mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-30 17:21:21 +00:00
stellar: StellarSignMessage.message is bytes
This commit is contained in:
parent
f97815f69a
commit
22560128fe
@ -11,13 +11,13 @@ class StellarSignMessage(p.MessageType):
|
|||||||
MESSAGE_WIRE_TYPE = 204
|
MESSAGE_WIRE_TYPE = 204
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||||
2: ('message', p.UnicodeType, 0),
|
2: ('message', p.BytesType, 0),
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
address_n: List[int] = None,
|
address_n: List[int] = None,
|
||||||
message: str = None
|
message: bytes = None
|
||||||
) -> None:
|
) -> None:
|
||||||
self.address_n = address_n if address_n is not None else []
|
self.address_n = address_n if address_n is not None else []
|
||||||
self.message = message
|
self.message = message
|
||||||
|
Loading…
Reference in New Issue
Block a user