mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 05:46:30 +03:00
move router member initialization into router.init
This commit is contained in:
@@ -73,9 +73,6 @@ func (c *Core) init() error {
|
||||
c.log.Warnln("SigningPublicKey in config is incorrect, should be", sp)
|
||||
}
|
||||
|
||||
c.router.searches.init(c)
|
||||
c.router.dht.init(c)
|
||||
c.router.sessions.init(c)
|
||||
c.peers.init(c)
|
||||
c.router.init(c)
|
||||
c.switchTable.init(c) // TODO move before peers? before router?
|
||||
|
||||
Reference in New Issue
Block a user