mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-24 07:28:34 +00:00
chore: fix pyright
This commit is contained in:
parent
b4ba7bca28
commit
926c08f8c6
@ -901,7 +901,7 @@ if not utils.BITCOIN_ONLY:
|
||||
account_path: str,
|
||||
vote_account: str,
|
||||
stake_item: tuple[str, str] | None,
|
||||
amount_item: tuple[str, str],
|
||||
amount_item: tuple[str, str] | None,
|
||||
fee_item: tuple[str, str],
|
||||
fee_details: Iterable[tuple[str, str]],
|
||||
blockhash_item: tuple[str, str],
|
||||
@ -927,7 +927,7 @@ if not utils.BITCOIN_ONLY:
|
||||
extra_item=blockhash_item,
|
||||
fee_items=fee_details,
|
||||
summary_title=title,
|
||||
summary_items=(amount_item, fee_item),
|
||||
summary_items=(amount_item, fee_item) if amount_item else (fee_item,),
|
||||
summary_br_name="confirm_total",
|
||||
summary_br_code=ButtonRequestType.SignTx,
|
||||
cancel_text=TR.buttons__cancel,
|
||||
|
Loading…
Reference in New Issue
Block a user