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 7eb7da4 commit 6bab087
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 6bab087

Please sign in to comment.