1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-25 15:58:08 +00:00

ore/tezos: better wording in delegation cancel

This commit is contained in:
Tomas Susanka 2020-03-02 08:47:04 +00:00
parent 7f91bc571c
commit 21676a0662
2 changed files with 3 additions and 3 deletions

View File

@ -103,14 +103,14 @@ async def require_confirm_proposals(ctx, proposals):
async def require_confirm_delegation_manager_withdraw(ctx, address): async def require_confirm_delegation_manager_withdraw(ctx, address):
text = Text("Cancel delegation", ui.ICON_RECEIVE, icon_color=ui.RED) text = Text("Remove delegation", ui.ICON_RECEIVE, icon_color=ui.RED)
text.bold("Delegator:") text.bold("Delegator:")
text.mono(*split_address(address)) text.mono(*split_address(address))
await require_confirm(ctx, text, ButtonRequestType.SignTx) await require_confirm(ctx, text, ButtonRequestType.SignTx)
async def require_confirm_manager_remove_delegate(ctx, fee): async def require_confirm_manager_remove_delegate(ctx, fee):
text = Text("Cancel delegation", ui.ICON_RECEIVE, ui.RED) text = Text("Remove delegation", ui.ICON_RECEIVE, ui.RED)
text.normal("Fee:") text.normal("Fee:")
text.bold(format_tezos_amount(fee)) text.bold(format_tezos_amount(fee))
await require_hold_to_confirm(ctx, text, ButtonRequestType.SignTx) await require_hold_to_confirm(ctx, text, ButtonRequestType.SignTx)

View File

@ -327,7 +327,7 @@
"test_msg_stellar_sign_transaction.py::test_sign_tx_timebounds": "d7edea398bb8f59d2347b1093968c58a2698109303b881233b374f30e5bde73e", "test_msg_stellar_sign_transaction.py::test_sign_tx_timebounds": "d7edea398bb8f59d2347b1093968c58a2698109303b881233b374f30e5bde73e",
"test_msg_tezos_getaddress.py-test_tezos_get_address": "f4698012b3148bf3c315ce8408c61c86e3685676874acd7b74d138465be9b02c", "test_msg_tezos_getaddress.py-test_tezos_get_address": "f4698012b3148bf3c315ce8408c61c86e3685676874acd7b74d138465be9b02c",
"test_msg_tezos_getpublickey.py-test_tezos_get_public_key": "5a80508a71a9ef64f94762b07636f90e464832f0f4a3102af8fa1a8c69e94586", "test_msg_tezos_getpublickey.py-test_tezos_get_public_key": "5a80508a71a9ef64f94762b07636f90e464832f0f4a3102af8fa1a8c69e94586",
"test_msg_tezos_sign_tx.py-test_tezos_kt_remove_delegation": "d744d0377f631a070a90c3a42576b8994d5f87da34b95ef454bbd02b4941d318", "test_msg_tezos_sign_tx.py-test_tezos_kt_remove_delegation": "48e8b7e0522f3a48d43d591f139e36733387318ef7ba80cbf91f359a84ca60fa",
"test_msg_tezos_sign_tx.py-test_tezos_sign_tx_delegation": "37001d6760fee74fb75014b43c375b7056c2b26bf9caf2ea6796626917f598d3", "test_msg_tezos_sign_tx.py-test_tezos_sign_tx_delegation": "37001d6760fee74fb75014b43c375b7056c2b26bf9caf2ea6796626917f598d3",
"test_msg_tezos_sign_tx.py-test_tezos_sign_tx_multiple_proposals": "0855c57f6b344e301edfbb13215c2263d45df5828d4ca4aedc9884f8fd6992c8", "test_msg_tezos_sign_tx.py-test_tezos_sign_tx_multiple_proposals": "0855c57f6b344e301edfbb13215c2263d45df5828d4ca4aedc9884f8fd6992c8",
"test_msg_tezos_sign_tx.py-test_tezos_sign_tx_origination": "57ca68e57f86816679e384ab04fc703d1c40d2818d838977ecd3b1db3777bd51", "test_msg_tezos_sign_tx.py-test_tezos_sign_tx_origination": "57ca68e57f86816679e384ab04fc703d1c40d2818d838977ecd3b1db3777bd51",