Convert nodeinfo to actor

This commit is contained in:
Neil Alexander 2020-01-05 22:15:52 +00:00
parent 4b16c325a3
commit 9304873047
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
3 changed files with 77 additions and 57 deletions

View file

@ -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 {