Updated on 2026-08-14

This commit is contained in:
Tangem 2024-10-30 14:11:51 +05:00
parent 101e609dec
commit 4791ce3ca5
4 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@ package com.tangem.data.transaction
import androidx.core.text.isDigitsOnly
import com.tangem.blockchain.blockchains.algorand.AlgorandTransactionExtras
import com.tangem.blockchain.blockchains.binance.BinanceTransactionExtras
import com.tangem.blockchain.blockchains.casper.CasperTransactionExtras
import com.tangem.blockchain.blockchains.cosmos.CosmosTransactionExtras
import com.tangem.blockchain.blockchains.ethereum.EthereumTransactionExtras
import com.tangem.blockchain.blockchains.hedera.HederaTransactionExtras
@ -274,6 +275,7 @@ internal class DefaultTransactionRepository(
Blockchain.Hedera -> HederaTransactionExtras(memo)
Blockchain.Algorand -> AlgorandTransactionExtras(memo)
Blockchain.InternetComputer -> memo.toLongOrNull()?.let { ICPTransactionExtras(it) }
Blockchain.Casper -> memo.toLongOrNull()?.let { CasperTransactionExtras(it) }
else -> null
}
}

View file

@ -38,6 +38,7 @@ internal class SendRecipientMemoFieldConverter(
Blockchain.Algorand.id,
Blockchain.Sei.id,
Blockchain.InternetComputer.id,
Blockchain.Casper.id,
-> {
convert(
value = Data(memo = memo, label = R.string.send_extras_hint_memo),

View file

@ -88,7 +88,7 @@ markdownComposeView = "0.5.4"
# endregion Other libraries
# region Tangem
tangemBlockchainSdk = "develop-841"
tangemBlockchainSdk = "develop-843"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "develop-391"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^

View file

@ -405,6 +405,4 @@ private val excludedBlockchains = listOf(
Blockchain.Unknown,
Blockchain.Nexa,
Blockchain.NexaTestnet,
Blockchain.Casper,
Blockchain.CasperTestnet,
)