mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix : BlockBodiesResponse
This commit is contained in:
parent
feeca914ef
commit
d9c6d122e2
1 changed files with 1 additions and 1 deletions
|
|
@ -571,7 +571,7 @@ func (f *BlockFetcher) loop() {
|
|||
case res := <-resCh:
|
||||
res.Done <- nil
|
||||
// Ignoring withdrawals here, since the block fetcher is not used post-merge.
|
||||
txs, uncles, _ := res.Res.(*eth.BlockBodiesPacket).Unpack()
|
||||
txs, uncles, _ := res.Res.(*eth.BlockBodiesResponse).Unpack()
|
||||
f.FilterBodies(peer, txs, uncles, time.Now(), announcedAt)
|
||||
|
||||
case <-timeout.C:
|
||||
|
|
|
|||
Loading…
Reference in a new issue