discover updated

This commit is contained in:
AnilChinchawale 2019-02-12 04:52:08 +05:30
parent 30994df508
commit e5ee0b3a6a
3 changed files with 3 additions and 3 deletions

View file

@ -596,7 +596,7 @@ func (req *ping) handle(t *udp, from *net.UDPAddr, fromID NodeID, mac []byte) er
return nil 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 { func (req *pong) handle(t *udp, from *net.UDPAddr, fromID NodeID, mac []byte) error {
if expired(req.Expiration) { if expired(req.Expiration) {