From 8de35da648bc4a4499ce58722dd0bd18dfb3b303 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Thu, 28 Oct 2021 14:59:51 +0200 Subject: [PATCH] core: fixed stale comment in txlist (#23825) --- core/tx_list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tx_list.go b/core/tx_list.go index ea96f3ebbdfa..f141a03bbd96 100644 --- a/core/tx_list.go +++ b/core/tx_list.go @@ -295,9 +295,9 @@ func (l *txList) Add(tx *types.Transaction, priceBump uint64) (bool, *types.Tran thresholdFeeCap := aFeeCap.Div(aFeeCap, b) thresholdTip := aTip.Div(aTip, b) - // Have to ensure that either the new fee cap or tip is higher than the + // We have to ensure that both the new fee cap and tip are higher than the // old ones as well as checking the percentage threshold to ensure that - // this is accurate for low (Wei-level) gas price replacements + // this is accurate for low (Wei-level) gas price replacements. if tx.GasFeeCapIntCmp(thresholdFeeCap) < 0 || tx.GasTipCapIntCmp(thresholdTip) < 0 { return false, nil }