aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--p2p/discv5/net.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/p2p/discv5/net.go b/p2p/discv5/net.go
index afc92e99f..b08cd2bc7 100644
--- a/p2p/discv5/net.go
+++ b/p2p/discv5/net.go
@@ -863,6 +863,9 @@ func init() {
name: "verifywait",
handle: func(net *Network, n *Node, ev nodeEvent, pkt *ingressPacket) (*nodeState, error) {
switch ev {
+ case pingPacket:
+ net.handlePing(n, pkt)
+ return verifywait, nil
case pongPacket:
err := net.handleKnownPong(n, pkt)
return known, err