Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-21 16:37:35 +03:00
parent e8295055f0
commit b597786638
4 changed files with 13 additions and 12 deletions

View file

@ -142,8 +142,8 @@ class SendTransactionUseCase(
* Sends tx hash to backend for specific transaction types
*/
private suspend fun sendHashToBackendIfNeeded(transaction: TransactionData, txHash: String) {
(transaction as? TransactionData.Uncompiled)?.let {
val extras = it.extras
(transaction as? TransactionData.Uncompiled)?.let { tx ->
val extras = tx.extras
when (extras) {
is EthereumTransactionExtras -> {
val txType = when (extras.callData) {