mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Convert nodeinfo to actor
This commit is contained in:
parent
4b16c325a3
commit
9304873047
3 changed files with 77 additions and 57 deletions
|
@ -78,6 +78,7 @@ func (r *router) init(core *Core) {
|
|||
func (r *router) reconfigure() {
|
||||
// Reconfigure the router
|
||||
current := r.core.config.GetCurrent()
|
||||
r.core.log.Println("Reloading NodeInfo...")
|
||||
if err := r.nodeinfo.setNodeInfo(current.NodeInfo, current.NodeInfoPrivacy); err != nil {
|
||||
r.core.log.Errorln("Error reloading NodeInfo:", err)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue