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.
This commit is contained in:
Ferenc Szabo 2019-02-15 15:40:28 +01:00
parent a721fc6b4c
commit acdb088c01

View file

@ -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))
}