Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! feat(core,legacy): show fee rate w…
Browse files Browse the repository at this point in the history
…hen signing transaction
  • Loading branch information
Martin Novak committed May 19, 2022
1 parent a1d2289 commit 828de33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/apps/bitcoin/sign_tx/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async def confirm_total(
coin: CoinInfo,
amount_unit: AmountUnit,
) -> None:
fee_rate_str = None
fee_rate_str: str | None = None

if fee_rate >= 0:
fee_rate_str = f"({fee_rate:.1f} sat/vB)"
Expand Down
2 changes: 1 addition & 1 deletion core/src/trezor/ui/layouts/tt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ async def confirm_total(
text.bold(fee_amount)

if fee_rate_amount is not None:
text.normal("\n"+fee_rate_amount)
text.normal("\n" + fee_rate_amount)

await raise_if_cancelled(interact(ctx, HoldToConfirm(text), br_type, br_code))

Expand Down

0 comments on commit 828de33

Please sign in to comment.