core/txpool/blobpool: ensure nonce continuity in pending filter

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2025-09-10 20:55:18 +02:00
parent 2adb528704
commit b98b69e9de
No known key found for this signature in database
GPG key ID: 0FE274EE8C95166E

View file

@ -1691,10 +1691,10 @@ func (p *BlobPool) Pending(filter txpool.PendingFilter) map[common.Address][]*tx
// Skip v0 or v1 blob transactions if not requested
if filter.OnlyBlobV0Txs && tx.version != types.BlobSidecarVersion0 {
continue
break // skip the rest because of nonce ordering
}
if filter.OnlyBlobV1Txs && tx.version != types.BlobSidecarVersion1 {
continue
break // skip the rest because of nonce ordering
}
// If transaction filtering was requested, discard badly priced ones