mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
Apply RSKIP-60 in require_confirm_tx (#241)
This commit is contained in:
parent
a6d316db25
commit
3e2e5fa7b8
@ -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):
|
async def require_confirm_tx(ctx, to, value, chain_id, token=None, tx_type=None):
|
||||||
if to:
|
if to:
|
||||||
str_to = _ethereum_address_hex(to)
|
str_to = _ethereum_address_hex(to, networks.by_chain_id(chain_id))
|
||||||
else:
|
else:
|
||||||
str_to = 'new contract?'
|
str_to = 'new contract?'
|
||||||
content = Text('Confirm sending', ui.ICON_SEND,
|
content = Text('Confirm sending', ui.ICON_SEND,
|
||||||
|
Loading…
Reference in New Issue
Block a user