mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
src/apps/common: update layout for signverify
This commit is contained in:
parent
6d98a97f7c
commit
0499e983fe
@ -23,6 +23,6 @@ def split_message(message):
|
||||
m = bytes(message).decode()
|
||||
words = m.split(" ")
|
||||
except UnicodeError:
|
||||
m = hexlify(message)
|
||||
m = "hex(%s)" % hexlify(message).decode()
|
||||
words = [m]
|
||||
return words
|
||||
|
@ -39,6 +39,7 @@ async def sign_message(ctx, msg):
|
||||
|
||||
|
||||
async def require_confirm_sign_message(ctx, message):
|
||||
message = split_message(message)
|
||||
text = Text("Sign Lisk message", new_lines=False)
|
||||
text.normal(*split_message(message))
|
||||
text.normal(*message)
|
||||
await require_confirm(ctx, text)
|
||||
|
Loading…
Reference in New Issue
Block a user