Update core/txpool/blobpool/blobpool.go

Co-authored-by: Martin HS <martin@swende.se>
This commit is contained in:
maskpp 2024-09-14 09:32:55 +08:00 committed by GitHub
parent 0476172e20
commit 64cc8eb4f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -566,7 +566,7 @@ func (p *BlobPool) recheck(addr common.Address, inclusions map[common.Hash]uint6
ids []uint64
nonces []uint64
)
for ; len(txs) > 0 && txs[0].nonce < next; txs = txs[1:] {
for len(txs) > 0 && txs[0].nonce < next {
ids = append(ids, txs[0].id)
nonces = append(nonces, txs[0].nonce)