|
|
@ -433,7 +433,7 @@ func (h *handler) runEthPeer(peer *eth.Peer, handler eth.Handler) error { |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
peer.Log().Debug("Whitelist block verified", "number", number, "hash", hash) |
|
|
|
peer.Log().Debug("Whitelist block verified", "number", number, "hash", hash) |
|
|
|
|
|
|
|
res.Done <- nil |
|
|
|
case <-timeout.C: |
|
|
|
case <-timeout.C: |
|
|
|
peer.Log().Warn("Whitelist challenge timed out, dropping", "addr", peer.RemoteAddr(), "type", peer.Name()) |
|
|
|
peer.Log().Warn("Whitelist challenge timed out, dropping", "addr", peer.RemoteAddr(), "type", peer.Name()) |
|
|
|
h.removePeer(peer.ID()) |
|
|
|
h.removePeer(peer.ID()) |
|
|
|