Updated on 2026-08-14

This commit is contained in:
Tangem 2024-06-11 17:11:54 +01:00
commit cd67aa5833
3 changed files with 7 additions and 3 deletions

View file

@ -330,7 +330,6 @@ private val excludedBlockchains = listOf(
Blockchain.Unknown,
Blockchain.Nexa,
Blockchain.NexaTestnet,
Blockchain.Radiant,
Blockchain.Manta,
Blockchain.MantaTestnet,
Blockchain.Mantle,

View file

@ -697,9 +697,14 @@ internal class SwapInteractorImpl @Inject constructor(
gasLimit = fee.gasLimit.toLong(),
)
blockchain == Blockchain.Aptos -> {
val gasUnitPrice = fee.feeValue.divide(
BigDecimal(fee.gasLimit),
Blockchain.Aptos.decimals(),
RoundingMode.HALF_UP,
)
Fee.Aptos(
amount = feeAmount,
gasUnitPrice = fee.feeValue.divide(BigDecimal(fee.gasLimit))
gasUnitPrice = gasUnitPrice
.movePointRight(Blockchain.Aptos.decimals())
.toLong(),
gasLimit = fee.gasLimit.toLong(),

View file

@ -86,7 +86,7 @@ markdown = "0.7.2"
# endregion Other libraries
# region Tangem
tangemBlockchainSdk = "release-app_5.11-666"
tangemBlockchainSdk = "release-app_5.11-669"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "release-app_5.11-365"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^