mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-10-20 11:31:55 +00:00
update to bugfixed ironwood, fix broken core test, add getPaths handler to admin socket
This commit is contained in:
@@ -75,7 +75,8 @@ func WaitConnected(nodeA, nodeB *Core) bool {
|
||||
return true
|
||||
}
|
||||
*/
|
||||
if len(nodeA.GetDHT()) > 1 && len(nodeB.GetDHT()) > 1 {
|
||||
if len(nodeA.GetTree()) > 1 && len(nodeB.GetTree()) > 1 {
|
||||
time.Sleep(3*time.Second) // FIXME hack, there's still stuff happening internally
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user