From 09baeec0dabc24050f344272ed36e39687c2b4e8 Mon Sep 17 00:00:00 2001 From: Zsolt Felfoldi Date: Fri, 11 Nov 2016 03:10:46 +0100 Subject: [PATCH] discv5: fixed state machine lockup bug --- p2p/discv5/net.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/p2p/discv5/net.go b/p2p/discv5/net.go index afc92e99fb..b08cd2bc76 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