Updated on 2026-08-14

This commit is contained in:
Tangem 2025-06-25 21:21:04 +09:00
parent 451fdc5e0b
commit 03b382782e
3 changed files with 4 additions and 1 deletions

View file

@ -58,6 +58,7 @@ internal class DefaultCustomTokensRepository(
Blockchain.Cardano,
Blockchain.Sui,
Blockchain.Stellar,
Blockchain.XRP,
-> blockchain.validateContractAddress(contractAddress)
else -> blockchain.validateAddress(contractAddress)
}

View file

@ -32,6 +32,8 @@ class OpenTrustlineUseCase(
is SimpleResult.Failure -> when (val error = result.error) {
is BlockchainSdkError.Stellar.MinReserveRequired ->
raise(OpenTrustlineError.NotEnoughCoin(error.amount, result.error.customMessage))
is BlockchainSdkError.Xrp.MinReserveRequired ->
raise(OpenTrustlineError.NotEnoughCoin(error.amount, result.error.customMessage))
else -> raise(OpenTrustlineError.SomeError(result.error.customMessage))
}
SimpleResult.Success -> Unit

View file

@ -5,7 +5,7 @@
# https://github.com/tangem/tangem-sdk-android/
# https://github.com/tangem/vico
tangemBlockchainSdk = "develop-1087"
tangemBlockchainSdk = "develop-1088"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "develop-484"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^