update admin functions and fix core tests

This commit is contained in:
Arceliar 2023-03-26 16:49:40 -05:00
parent abbe94fa80
commit e99c870d51
9 changed files with 66 additions and 45 deletions

View file

@ -75,7 +75,7 @@ func WaitConnected(nodeA, nodeB *Core) bool {
return true
}
*/
if len(nodeA.GetPaths()) > 1 && len(nodeB.GetPaths()) > 1 {
if len(nodeA.GetDHT()) > 1 && len(nodeB.GetDHT()) > 1 {
return true
}
}