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 <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2026-03-03 11:16:54 +01:00
parent 0f5b89d765
commit 102a272f00
No known key found for this signature in database
GPG key ID: 0FE274EE8C95166E

View file

@ -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