Skip to content

Commit

Permalink
Fix overpricing validation of GasPriceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
abdrasulov committed Feb 26, 2025
1 parent 6bb1eae commit 542ffd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 542ffd7

Please sign in to comment.