Skip to content

Commit

Permalink
eth: continue after whitelist check
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored and ValentinTrinque committed Jan 25, 2022
1 parent 1d23df2 commit 87cc5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/handler.go
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 87cc5cd

Please sign in to comment.