From 542ffd750a444fb5811aa6c0f9deac73104e2321 Mon Sep 17 00:00:00 2001 From: abdrasulov Date: Wed, 26 Feb 2025 18:34:02 +0600 Subject: [PATCH] Fix overpricing validation of GasPriceInfo --- .../bankwallet/modules/evmfee/eip1559/Eip1559GasPriceService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/horizontalsystems/bankwallet/modules/evmfee/eip1559/Eip1559GasPriceService.kt b/app/src/main/java/io/horizontalsystems/bankwallet/modules/evmfee/eip1559/Eip1559GasPriceService.kt index 8550b5d3b5a..243a3470a7a 100644 --- a/app/src/main/java/io/horizontalsystems/bankwallet/modules/evmfee/eip1559/Eip1559GasPriceService.kt +++ b/app/src/main/java/io/horizontalsystems/bankwallet/modules/evmfee/eip1559/Eip1559GasPriceService.kt @@ -135,7 +135,7 @@ class Eip1559GasPriceService( tip < riskOfStuckBound.calculate(recommendedGasPrice.maxPriorityFeePerGas) -> { warnings.add(FeeSettingsWarning.RiskOfGettingStuck) } - tip >= overpricingBound.calculate(recommendedGasPrice.maxPriorityFeePerGas) -> { + tip > overpricingBound.calculate(recommendedGasPrice.maxPriorityFeePerGas) -> { warnings.add(FeeSettingsWarning.Overpricing) } }