|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
|
|
|
|
|
|
import trezorui2
|
|
|
|
|
from trezor import TR, io, loop, ui
|
|
|
|
|
from trezor import TR, io, loop, ui, utils
|
|
|
|
|
from trezor.enums import ButtonRequestType
|
|
|
|
|
from trezor.wire import ActionCancelled
|
|
|
|
|
from trezor.wire.context import wait as ctx_wait
|
|
|
|
@ -1001,6 +1001,8 @@ def confirm_summary(
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if not utils.BITCOIN_ONLY:
|
|
|
|
|
|
|
|
|
|
async def confirm_ethereum_tx(
|
|
|
|
|
recipient: str,
|
|
|
|
|
total_amount: str,
|
|
|
|
@ -1047,7 +1049,6 @@ async def confirm_ethereum_tx(
|
|
|
|
|
except ActionCancelled:
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async def confirm_ethereum_staking_tx(
|
|
|
|
|
title: str,
|
|
|
|
|
intro_question: str,
|
|
|
|
@ -1092,7 +1093,6 @@ async def confirm_ethereum_staking_tx(
|
|
|
|
|
br_code=br_code,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def confirm_solana_tx(
|
|
|
|
|
amount: str,
|
|
|
|
|
fee: str,
|
|
|
|
|