mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
fix ethereum_get_address for python3
This commit is contained in:
parent
c7a2c72a75
commit
ee5f53d4be
@ -485,7 +485,7 @@ def decrypt_message(client, address, payload):
|
|||||||
def ethereum_get_address(client, address, show_display):
|
def ethereum_get_address(client, address, show_display):
|
||||||
address_n = client.expand_path(address)
|
address_n = client.expand_path(address)
|
||||||
address = client.ethereum_get_address(address_n, show_display)
|
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.')
|
@cli.command(help='Sign (and optionally publish) Ethereum transaction. Use TO as destination address or set TO to "" for contract creation.')
|
||||||
|
Loading…
Reference in New Issue
Block a user