Skip to content

Commit b98b69e

Browse files
committed
core/txpool/blobpool: ensure nonce continuity in pending filter
Signed-off-by: Csaba Kiraly <[email protected]>
1 parent 2adb528 commit b98b69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/txpool/blobpool/blobpool.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,10 +1691,10 @@ func (p *BlobPool) Pending(filter txpool.PendingFilter) map[common.Address][]*tx
16911691

16921692
// Skip v0 or v1 blob transactions if not requested
16931693
if filter.OnlyBlobV0Txs && tx.version != types.BlobSidecarVersion0 {
1694-
continue
1694+
break // skip the rest because of nonce ordering
16951695
}
16961696
if filter.OnlyBlobV1Txs && tx.version != types.BlobSidecarVersion1 {
1697-
continue
1697+
break // skip the rest because of nonce ordering
16981698
}
16991699

17001700
// If transaction filtering was requested, discard badly priced ones

0 commit comments

Comments
 (0)