Updated on 2026-08-14

This commit is contained in:
Tangem 2025-10-09 15:04:22 +02:00
parent 33553ce4b2
commit 42af9271ad

View file

@ -41,6 +41,11 @@ internal class DefaultCustomTokensRepository(
private val networkFactory: NetworkFactory,
) : CustomTokensRepository {
private val excludedBlockchainsForCustom = setOf(
Blockchain.Quai,
Blockchain.QuaiTestnet,
)
private val cryptoCurrencyFactory = CryptoCurrencyFactory(excludedBlockchains)
private val userTokensResponseFactory = UserTokensResponseFactory()
private val tokenAddressConverter = TokenAddressesConverter()
@ -268,6 +273,7 @@ internal class DefaultCustomTokensRepository(
val scanResponse = userWallet.scanResponse
Blockchain.entries
.filter { it !in excludedBlockchainsForCustom }
.mapNotNull { blockchain ->
val canHandleBlockchain = scanResponse.card.canHandleBlockchain(
blockchain,