fix(tron,ui): use fee_limit instead of max_fees.
What changed, and why it matters
This commit only changes the on-screen label shown to Trezor users when confirming TRON transactions. The text 'Maximum Fees' is replaced with 'Fee limit' to match TRON-specific terminology. No transaction logic, fee calculation, or security behavior is changed.
No security action needed; this is a cosmetic wording fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch updates UI layout code across four Trezor firmware themes (bolt, caesar, delizia, eckhart). It swaps the translation key TR.send__maximum_fee for TR.words__fee_limit in functions that render TRON transaction confirmation screens. The underlying data passed to the screen (maximum_fee) and all surrounding code remain identical.
Changed components
core/src/trezor/ui/layouts/bolt/__init__.pycore/src/trezor/ui/layouts/caesar/__init__.pycore/src/trezor/ui/layouts/delizia/__init__.pycore/src/trezor/ui/layouts/eckhart/__init__.pyInspect captured patch +9 / −12
diff --git a/core/.changelog.d/5358.added b/core/.changelog.d/5358.added
index 047ad3e4..2098d013 100644
--- a/core/.changelog.d/5358.added
+++ b/core/.changelog.d/5358.added
@@ -1 +1 @@
-Adding TRON support for TRX and other TRC-20 tokens, smart contracts, and Stake 2.0
+Adding TRON support for TRX and other TRC-20 tokens, smart contracts, and Stake 2.0.
diff --git a/core/src/trezor/ui/layouts/bolt/__init__.py b/core/src/trezor/ui/layouts/bolt/__init__.py
index 00876352..93a94825 100644
--- a/core/src/trezor/ui/layouts/bolt/__init__.py
+++ b/core/src/trezor/ui/layouts/bolt/__init__.py
@@ -1486,7 +1486,6 @@ if not utils.BITCOIN_ONLY:
chunkify=False,
)
-
async def confirm_tron_send(amount: str | None, fee: str | None) -> None:
await _confirm_summary(
amount or "",
@@ -1557,7 +1556,7 @@ if not utils.BITCOIN_ONLY:
None,
None,
maximum_fee,
- TR.send__maximum_fee,
+ TR.words__fee_limit,
title,
None,
)
@@ -1605,7 +1604,7 @@ if not utils.BITCOIN_ONLY:
None,
None,
maximum_fee,
- TR.send__maximum_fee,
+ TR.words__fee_limit,
title,
None,
)
diff --git a/core/src/trezor/ui/layouts/caesar/__init__.py b/core/src/trezor/ui/layouts/caesar/__init__.py
index c5b8fa40..6308a170 100644
--- a/core/src/trezor/ui/layouts/caesar/__init__.py
+++ b/core/src/trezor/ui/layouts/caesar/__init__.py
@@ -1538,7 +1538,6 @@ if not utils.BITCOIN_ONLY:
chunkify=False,
)
-
async def confirm_tron_send(amount: str | None, fee: str | None) -> None:
await raise_if_not_confirmed(
trezorui_api.confirm_summary(
@@ -1612,7 +1611,7 @@ if not utils.BITCOIN_ONLY:
amount=None,
amount_label=None,
fee=maximum_fee,
- fee_label=with_colon(TR.send__maximum_fee),
+ fee_label=with_colon(TR.words__fee_limit),
title=title,
account_title=TR.address_details__account_info,
extra_title=TR.confirm_total__title_fee,
@@ -1665,7 +1664,7 @@ if not utils.BITCOIN_ONLY:
amount=None,
amount_label=None,
fee=maximum_fee,
- fee_label=with_colon(TR.send__maximum_fee),
+ fee_label=with_colon(TR.words__fee_limit),
title=title,
account_title=TR.address_details__account_info,
extra_title=TR.confirm_total__title_fee,
diff --git a/core/src/trezor/ui/layouts/delizia/__init__.py b/core/src/trezor/ui/layouts/delizia/__init__.py
index 14abb23a..46b9942e 100644
--- a/core/src/trezor/ui/layouts/delizia/__init__.py
+++ b/core/src/trezor/ui/layouts/delizia/__init__.py
@@ -1461,7 +1461,6 @@ if not utils.BITCOIN_ONLY:
chunkify=False,
)
-
async def confirm_tron_send(amount: str | None, fee: str | None) -> None:
await _confirm_summary(
amount or "",
@@ -1517,7 +1516,7 @@ if not utils.BITCOIN_ONLY:
None,
None,
maximum_fee,
- TR.send__maximum_fee,
+ TR.words__fee_limit,
title,
None,
)
@@ -1582,7 +1581,7 @@ if not utils.BITCOIN_ONLY:
None,
None,
maximum_fee,
- TR.send__maximum_fee,
+ TR.words__fee_limit,
title,
None,
)
diff --git a/core/src/trezor/ui/layouts/eckhart/__init__.py b/core/src/trezor/ui/layouts/eckhart/__init__.py
index 0734d4b3..9cd12625 100644
--- a/core/src/trezor/ui/layouts/eckhart/__init__.py
+++ b/core/src/trezor/ui/layouts/eckhart/__init__.py
@@ -1617,7 +1617,7 @@ if not utils.BITCOIN_ONLY:
None,
None,
maximum_fee,
- TR.send__maximum_fee,
+ TR.words__fee_limit,
title,
None,
)
@@ -1682,7 +1682,7 @@ if not utils.BITCOIN_ONLY:
None,
None,
maximum_fee,
- TR.send__maximum_fee,
+ TR.words__fee_limit,
title,
None,
)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.