Updated on 2026-08-14
This commit is contained in:
parent
bf5e1fa837
commit
7ac7fed538
2 changed files with 7 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -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 ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue