From 54cc496c39eb7b196fa2533ea2b721640e0a14e8 Mon Sep 17 00:00:00 2001 From: Alexey Date: Sun, 12 Oct 2025 01:57:52 +0300 Subject: [PATCH] fix noname node message --- src/hooks/initial.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hooks/initial.go b/src/hooks/initial.go index 39488f9..d2b9309 100644 --- a/src/hooks/initial.go +++ b/src/hooks/initial.go @@ -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) {