mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
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:
parent
a721fc6b4c
commit
acdb088c01
1 changed files with 0 additions and 1 deletions
|
|
@ -141,7 +141,6 @@ func (net *Network) ConnectNodesStar(ids []enode.ID, center enode.ID) (err error
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// connectByIgnoringAlreadyConnected connects two nodes but ignores already connected error.
|
|
||||||
func (net *Network) connectNotConnected(oneID, otherID enode.ID) error {
|
func (net *Network) connectNotConnected(oneID, otherID enode.ID) error {
|
||||||
return ignoreAlreadyConnectedErr(net.connect(oneID, otherID))
|
return ignoreAlreadyConnectedErr(net.connect(oneID, otherID))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue