diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 27441ac2e2..a1d9d9b820 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1676,6 +1676,14 @@ 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 could also try to check for this earlier, but it is compex because + // of the rolling fee caculations. + if !p.lookup.exists(tx.Hash()) { + addUnderpricedMeter.Mark(1) + return txpool.ErrUnderpriced + } + addValidMeter.Mark(1) // Notify all listeners of the new arrival