Updated on 2026-08-14
This commit is contained in:
parent
4e21f84b90
commit
b168f321b8
7 changed files with 23 additions and 15 deletions
|
|
@ -177,9 +177,9 @@ class WalletConnectSdkHelper {
|
|||
is Result.Success -> gasLimitResult.data.toBigDecimal().multiply(BigDecimal("1.2"))
|
||||
is Result.Failure -> {
|
||||
(gasLimitResult.error as? Throwable)?.let { Timber.e(it, "getGasLimit failed") }
|
||||
BigDecimal(DEFAULT_MAX_GASLIMIT) // Set high gasLimit if not provided
|
||||
DEFAULT_MAX_GASLIMIT.toBigDecimal() // Set high gasLimit if not provided
|
||||
}
|
||||
else -> BigDecimal(DEFAULT_MAX_GASLIMIT) // Set high gasLimit if not provided
|
||||
else -> DEFAULT_MAX_GASLIMIT.toBigDecimal() // Set high gasLimit if not provided
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue