1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00

Apply RSKIP-60 in require_confirm_tx (#241)

This commit is contained in:
Ilan 2018-06-13 18:21:19 -03:00 committed by Pavol Rusnak
parent a6d316db25
commit 3e2e5fa7b8

View File

@ -12,7 +12,7 @@ from apps.ethereum.get_address import _ethereum_address_hex
async def require_confirm_tx(ctx, to, value, chain_id, token=None, tx_type=None):
if to:
str_to = _ethereum_address_hex(to)
str_to = _ethereum_address_hex(to, networks.by_chain_id(chain_id))
else:
str_to = 'new contract?'
content = Text('Confirm sending', ui.ICON_SEND,