Merge pull request #24210 from holiman/whitelist_investigate

eth: continue after whitelist check
pull/24221/head
Péter Szilágyi 3 years ago committed by GitHub
commit adc0a6adca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      eth/handler.go

@ -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())

Loading…
Cancel
Save