diff --git a/p2p/server.go b/p2p/server.go index 16768f920f..b7a92ce553 100644 --- a/p2p/server.go +++ b/p2p/server.go @@ -427,8 +427,8 @@ func (srv *Server) dialLoop() { srv.peerWG.Add(1) go func() { srv.dialNode(dest) - dialed <- dest slots <- struct{}{} + dialed <- dest }() }