Skip to content

Commit

Permalink
Merge pull request #24210 from holiman/whitelist_investigate
Browse files Browse the repository at this point in the history
eth: continue after whitelist check
  • Loading branch information
karalabe authored Jan 7, 2022
2 parents 127ce93 + 0dec47b commit adc0a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func (h *handler) runEthPeer(peer *eth.Peer, handler eth.Handler) error {
return
}
peer.Log().Debug("Whitelist block verified", "number", number, "hash", hash)

res.Done <- nil
case <-timeout.C:
peer.Log().Warn("Whitelist challenge timed out, dropping", "addr", peer.RemoteAddr(), "type", peer.Name())
h.removePeer(peer.ID())
Expand Down

0 comments on commit adc0a6a

Please sign in to comment.