From 102a272f00a2de513f4f0fb7d01c2bae9945c730 Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Tue, 3 Mar 2026 11:16:54 +0100 Subject: [PATCH] core/txpool/blobpool: remove underpriced check after add Now that we use the correct size before, this is not needed anyome. Signed-off-by: Csaba Kiraly --- core/txpool/blobpool/blobpool.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 7d6534ca03..6459db1046 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1730,15 +1730,6 @@ func (p *BlobPool) addLocked(tx *types.Transaction, checkGapped bool) (err error } p.updateStorageMetrics() - // If we've just dropped the added transaction, it was clearly underpriced. - // We've already checked for this with approximate size, but do a final - // check in case it was dropped with the exact size. - if !p.lookup.exists(tx.Hash()) { - log.Trace("Added blob transaction was dropped immediately, indicating underpricing", "hash", tx.Hash()) - addUnderpricedMeter.Mark(1) - return txpool.ErrUnderpriced - } - addValidMeter.Mark(1) // Notify all listeners of the new arrival