mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 12:08:59 +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
|
||||
FIELDS = {
|
||||
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
||||
2: ('message', p.UnicodeType, 0),
|
||||
2: ('message', p.BytesType, 0),
|
||||
}
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
address_n: List[int] = None,
|
||||
message: str = None
|
||||
message: bytes = None
|
||||
) -> None:
|
||||
self.address_n = address_n if address_n is not None else []
|
||||
self.message = message
|
||||
|
Loading…
Reference in New Issue
Block a user