mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
discover updated
This commit is contained in:
parent
30994df508
commit
e5ee0b3a6a
3 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -319,4 +319,4 @@ func (self *SimNode) NodeInfo() *p2p.NodeInfo {
|
|||
}
|
||||
}
|
||||
return server.NodeInfo()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue