mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-25 07:16:29 +03:00
have dht store a pointer to router instead of core
This commit is contained in:
@@ -73,7 +73,7 @@ func (r *router) init(core *Core) {
|
||||
r.core.config.Mutex.RLock()
|
||||
r.nodeinfo.setNodeInfo(r.core.config.Current.NodeInfo, r.core.config.Current.NodeInfoPrivacy)
|
||||
r.core.config.Mutex.RUnlock()
|
||||
r.dht.init(r.core)
|
||||
r.dht.init(r)
|
||||
r.searches.init(r.core)
|
||||
r.sessions.init(r.core)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user