mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-05 19:05:03 +00:00
core/txpool/blobpool: ensure nonce continuity in pending filter
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
2adb528704
commit
b98b69e9de
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue