diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go index de82db08fd..5c6447ebca 100644 --- a/p2p/discover/udp.go +++ b/p2p/discover/udp.go @@ -596,7 +596,7 @@ func (req *ping) handle(t *udp, from *net.UDPAddr, fromID NodeID, mac []byte) er return nil } -func (req *ping) name() string { return "XDC/v4" } +func (req *ping) name() string { return "PING XDC/v4" } func (req *pong) handle(t *udp, from *net.UDPAddr, fromID NodeID, mac []byte) error { if expired(req.Expiration) { diff --git a/p2p/discover/udp_test.go b/p2p/discover/udp_test.go index 0e67b7b3ca..cf186c4b85 100644 --- a/p2p/discover/udp_test.go +++ b/p2p/discover/udp_test.go @@ -557,4 +557,4 @@ func (c *dgramPipe) waitPacketOut() []byte { copy(c.queue, c.queue[1:]) c.queue = c.queue[:len(c.queue)-1] return p -} \ No newline at end of file +} diff --git a/p2p/simulations/adapters/inproc.go b/p2p/simulations/adapters/inproc.go index 2e831d241b..cb333f797e 100644 --- a/p2p/simulations/adapters/inproc.go +++ b/p2p/simulations/adapters/inproc.go @@ -319,4 +319,4 @@ func (self *SimNode) NodeInfo() *p2p.NodeInfo { } } return server.NodeInfo() -} \ No newline at end of file +}