cleaned up logs, go initial updates working

This commit is contained in:
0xdcarns
2022-02-19 10:45:25 -05:00
parent 7bf716429f
commit 5f7c94b304
5 changed files with 234 additions and 196 deletions

View File

@@ -242,7 +242,8 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string, iscomms bool) error
go func() {
if !local.SetDNSWithRetry(node, server.Address) {
cfg.Node.DNSOn = "no"
PublishNodeUpdate(&cfg)
var currentCommsCfg = getCommsCfgByNode(&cfg.Node)
PublishNodeUpdate(&currentCommsCfg, &cfg)
}
}()
break