Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-03 19:34:07 +05:00
parent 4e533c14ef
commit d873d6425d
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@
# https://github.com/tangem/tangem-sdk-android/
# https://github.com/tangem/vico
tangemBlockchainSdk = "releases-5.38-1543"
tangemBlockchainSdk = "releases-5.38-1547"
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
tangemCardSdk = "releases-5.38-615"
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^

View file

@ -66,6 +66,7 @@ object BlockchainFeeUtils {
private fun Fee.increaseGasLimitBy(percentage: Int): Fee {
if (this !is Fee.Ethereum) return this
val gasLimit = this.gasLimit
if (gasLimit == BigInteger.ZERO) return this
val increasedGasPrice = this.amount.value?.movePointRight(this.amount.decimals)
?.divide(gasLimit.toBigDecimal(), RoundingMode.HALF_UP)
val increasedGasLimit = gasLimit