dht/dht.go | 3 --- diff --git a/dht/dht.go b/dht/dht.go index 5059e0f30adaeeb379a6a2a6d6eacc6eddc1b092..9840961cc85d9c132e73020d18280d0a422d1e4b 100644 --- a/dht/dht.go +++ b/dht/dht.go @@ -456,9 +456,6 @@ n.lastHeardFrom = time.Now() } func (s *Server) getNode(addr dHTAddr) (n *Node) { - if util.AddrPort(addr) == 0 { - panic(addr) - } n = s.nodes[addr.String()] if n == nil { n = &Node{