Skip to content

Commit

Permalink
Fix feeRate calculating
Browse files Browse the repository at this point in the history
  • Loading branch information
ant013 committed Jan 19, 2024
1 parent f7c708d commit 52fcf6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Eip1559GasPriceService {
recommendedTips = max(recommendedTips, minRecommendedTips)
}

recommendedMaxFee = baseFeesConsidered.max() ?? 0 + recommendedTips
recommendedMaxFee = (baseFeesConsidered.max() ?? 0) + recommendedTips
if let minRecommendedMaxFee {
recommendedMaxFee = max(recommendedMaxFee, minRecommendedMaxFee)
}
Expand Down

0 comments on commit 52fcf6a

Please sign in to comment.