fix noname node message

This commit is contained in:
2025-10-12 01:57:52 +03:00
parent f7b0014a37
commit 54cc496c39

View File

@@ -234,7 +234,11 @@ func InitConfigPrintHook(ctx context.Context, cs *corestate.CoreState, x *app.Ap
}
}
x.Log.Printf("Starting \"%s\" node", *x.Config.Conf.Node.Name)
if *x.Config.Conf.Node.Name == "noname" {
x.Log.Printf("Starting node")
} else {
x.Log.Printf("Starting \"%s\" node", *x.Config.Conf.Node.Name)
}
}
func InitSLogHook(_ context.Context, cs *corestate.CoreState, x *app.AppX) {