eth: sync blob transactions to new peers on connection

This commit is contained in:
MozirDmitriy 2026-02-17 16:25:06 +03:00 committed by GitHub
parent a4b3898f90
commit c9c831277d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,7 @@ import (
// syncTransactions starts sending all currently pending transactions to the given peer.
func (h *handler) syncTransactions(p *eth.Peer) {
var hashes []common.Hash
for _, batch := range h.txpool.Pending(txpool.PendingFilter{BlobTxs: false}) {
for _, batch := range h.txpool.Pending(txpool.PendingFilter{}) {
for _, tx := range batch {
hashes = append(hashes, tx.Hash)
}