We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04e5bd commit 70fd0b6Copy full SHA for 70fd0b6
eth/fetcher/block_fetcher.go
@@ -483,7 +483,7 @@ func (f *BlockFetcher) loop() {
483
select {
484
case res := <-resCh:
485
res.Done <- nil
486
- f.FilterHeaders(peer, *res.Res.(*eth.BlockHeadersRequest), time.Now().Add(res.Time))
+ f.FilterHeaders(peer, *res.Res.(*eth.BlockHeadersRequest), time.Now())
487
488
case <-timeout.C:
489
// The peer didn't respond in time. The request
0 commit comments