mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
eth/fetcher: add comment
This commit is contained in:
parent
63fe3ff7ff
commit
6489db71ed
1 changed files with 2 additions and 0 deletions
|
|
@ -379,6 +379,8 @@ func (f *TxFetcher) Enqueue(peer string, version uint, txs []*types.Transaction,
|
||||||
poolTxs = batch
|
poolTxs = batch
|
||||||
}
|
}
|
||||||
batch = append(poolTxs, blobTxs...)
|
batch = append(poolTxs, blobTxs...)
|
||||||
|
|
||||||
|
// Add regular tx to pool, blob tx to buffer.
|
||||||
errs := append(f.addTxs(poolTxs), f.buffer.AddTx(blobTxs, peer)...)
|
errs := append(f.addTxs(poolTxs), f.buffer.AddTx(blobTxs, peer)...)
|
||||||
|
|
||||||
hashes := make([]common.Hash, len(batch))
|
hashes := make([]common.Hash, len(batch))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue