Updated on 2026-08-14

This commit is contained in:
Tangem 2022-02-10 18:12:59 +03:00
parent c98e6195ec
commit a5a34fe327

View file

@ -49,7 +49,8 @@ class WalletConnectSdkHelper {
wallet.amounts[AmountType.Coin]?.value ?: return null
val gas = transaction.gas?.hexToBigDecimal()
?: transaction.gasLimit?.hexToBigDecimal() ?: return null
?: transaction.gasLimit?.hexToBigDecimal()
?: BigDecimal(300000) //Set high gasLimit if not provided
val decimals = wallet.blockchain.decimals()