fix ethereum_get_address for python3

pull/25/head
Pavol Rusnak 7 years ago
parent c7a2c72a75
commit ee5f53d4be
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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.')

Loading…
Cancel
Save