cosmetic: remove unnecessary comment
This commit is contained in:
1 parent
1c7954a43d
commit
0ef57a102f
1 file changed
-1
@@ -165,7 +165,6 @@ func (c *GossipChannel) sendBroadcast(srcName PeerName, update GossipData) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *GossipChannel) Send(srcName PeerName, data GossipData) {
|
func (c *GossipChannel) Send(srcName PeerName, data GossipData) {
|
||||||
// do this outside the lock below so we avoid lock nesting
|
|
||||||
c.routes.EnsureRecalculated()
|
c.routes.EnsureRecalculated()
|
||||||
destinations := c.routes.RandomNeighbours(srcName)
|
destinations := c.routes.RandomNeighbours(srcName)
|
||||||
if len(destinations) == 0 {
|
if len(destinations) == 0 {
|
||||||
|
|||||||
Reference in new issue
Block a user