Skip to content
Permalink
Browse files

Fix for missing visible nodes in directory.

  • Loading branch information...
Brett Morien
Brett Morien committed Sep 30, 2019
1 parent 865bdd7 commit 3065d26e30a512f155c2e21f502d582930d084d9
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/orbit-server/src/main/kotlin/orbit/server/net/Connections.kt
@@ -81,7 +81,8 @@ internal class Connections(

if (newConnections) {
println("Updating local node ${localNode.nodeInfo.id} in directory ${this.meshNodes.keys.plus(clients.keys)}")
nodeDirectory.report(localNode.nodeInfo.copy(visibleNodes = this.meshNodes.keys.plus(clients.keys)))
localNode.updateNodeInfo(localNode.nodeInfo.copy(visibleNodes = this.meshNodes.keys.plus(clients.keys)))
nodeDirectory.report(localNode.nodeInfo)
}
}
}

0 comments on commit 3065d26

Please sign in to comment.
You can’t perform that action at this time.