From ee5f53d4befd92dbeadea4098a8782751ff39dd5 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 11 Jul 2017 19:37:25 +0200 Subject: [PATCH] fix ethereum_get_address for python3 --- trezorctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorctl b/trezorctl index 711ba1f09..c8741faff 100755 --- a/trezorctl +++ b/trezorctl @@ -485,7 +485,7 @@ def decrypt_message(client, address, payload): def ethereum_get_address(client, address, show_display): address_n = client.expand_path(address) address = client.ethereum_get_address(address_n, show_display) - return '0x%s' % binascii.hexlify(address) + return '0x%s' % binascii.hexlify(str(address)) @cli.command(help='Sign (and optionally publish) Ethereum transaction. Use TO as destination address or set TO to "" for contract creation.')