Updated on 2026-08-14
This commit is contained in:
parent
451fdc5e0b
commit
03b382782e
3 changed files with 4 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ internal class DefaultCustomTokensRepository(
|
|||
Blockchain.Cardano,
|
||||
Blockchain.Sui,
|
||||
Blockchain.Stellar,
|
||||
Blockchain.XRP,
|
||||
-> blockchain.validateContractAddress(contractAddress)
|
||||
else -> blockchain.validateAddress(contractAddress)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue