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 JacekGlen committed May 26, 2022
1 parent db15485 commit cdee9a0
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 cdee9a0

Please sign in to comment.