From acdb088c011ffb34c95138e4110ab3c4f1bdd3c3 Mon Sep 17 00:00:00 2001 From: Ferenc Szabo Date: Fri, 15 Feb 2019 15:40:28 +0100 Subject: [PATCH] p2p/simulations: remove faulty godoc from private function The comment started with the wrong method name. The method is simple and self explanatory. Also, it's private. => Let's just remove the comment. --- p2p/simulations/connect.go | 1 - 1 file changed, 1 deletion(-) diff --git a/p2p/simulations/connect.go b/p2p/simulations/connect.go index d13dd641af..ede96b34c1 100644 --- a/p2p/simulations/connect.go +++ b/p2p/simulations/connect.go @@ -141,7 +141,6 @@ func (net *Network) ConnectNodesStar(ids []enode.ID, center enode.ID) (err error return nil } -// connectByIgnoringAlreadyConnected connects two nodes but ignores already connected error. func (net *Network) connectNotConnected(oneID, otherID enode.ID) error { return ignoreAlreadyConnectedErr(net.connect(oneID, otherID)) }