aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--p2p/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/server.go b/p2p/server.go
index 16768f920..b7a92ce55 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
}()
}