1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

python: fix trezorctl lisk sign-message address parsing

This commit is contained in:
Martin Milata 2020-08-11 17:12:14 +02:00 committed by Tomas Susanka
parent 3f21e8f400
commit 6319fcfe4a

View File

@ -72,7 +72,7 @@ def sign_tx(client, address, file):
@with_client @with_client
def sign_message(client, address, message): def sign_message(client, address, message):
"""Sign message with Lisk address.""" """Sign message with Lisk address."""
address_n = client.expand_path(address) address_n = tools.parse_path(address)
res = lisk.sign_message(client, address_n, message) res = lisk.sign_message(client, address_n, message)
output = { output = {
"message": message, "message": message,