From 21676a06623272a6ee33788a0f1dcd45fc6c319b Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Mon, 2 Mar 2020 08:47:04 +0000 Subject: [PATCH] ore/tezos: better wording in delegation cancel --- core/src/apps/tezos/layout.py | 4 ++-- tests/ui_tests/fixtures.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/apps/tezos/layout.py b/core/src/apps/tezos/layout.py index 0edc08c286..1eb679bbef 100644 --- a/core/src/apps/tezos/layout.py +++ b/core/src/apps/tezos/layout.py @@ -103,14 +103,14 @@ async def require_confirm_proposals(ctx, proposals): 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.mono(*split_address(address)) await require_confirm(ctx, text, ButtonRequestType.SignTx) 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.bold(format_tezos_amount(fee)) await require_hold_to_confirm(ctx, text, ButtonRequestType.SignTx) diff --git a/tests/ui_tests/fixtures.json b/tests/ui_tests/fixtures.json index 2950723761..2708e1354c 100644 --- a/tests/ui_tests/fixtures.json +++ b/tests/ui_tests/fixtures.json @@ -327,7 +327,7 @@ "test_msg_stellar_sign_transaction.py::test_sign_tx_timebounds": "d7edea398bb8f59d2347b1093968c58a2698109303b881233b374f30e5bde73e", "test_msg_tezos_getaddress.py-test_tezos_get_address": "f4698012b3148bf3c315ce8408c61c86e3685676874acd7b74d138465be9b02c", "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_multiple_proposals": "0855c57f6b344e301edfbb13215c2263d45df5828d4ca4aedc9884f8fd6992c8", "test_msg_tezos_sign_tx.py-test_tezos_sign_tx_origination": "57ca68e57f86816679e384ab04fc703d1c40d2818d838977ecd3b1db3777bd51",