diff --git a/src/apps/common/signverify.py b/src/apps/common/signverify.py index 7f3d0679c..baa88c1de 100644 --- a/src/apps/common/signverify.py +++ b/src/apps/common/signverify.py @@ -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 diff --git a/src/apps/lisk/sign_message.py b/src/apps/lisk/sign_message.py index 251939660..11280a166 100644 --- a/src/apps/lisk/sign_message.py +++ b/src/apps/lisk/sign_message.py @@ -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)