diff --git a/cmd/neofs-node/main.go b/cmd/neofs-node/main.go index baec17888..343ed2d64 100644 --- a/cmd/neofs-node/main.go +++ b/cmd/neofs-node/main.go @@ -80,7 +80,7 @@ func initApp(c *cfg) { initProfiler(c) initMetrics(c) initControlService(c) - initNotification(c) + initNotifications(c) fatalOnErr(c.cfgObject.cfgLocalStorage.localStorage.Open()) fatalOnErr(c.cfgObject.cfgLocalStorage.localStorage.Init()) diff --git a/cmd/neofs-node/notificator.go b/cmd/neofs-node/notificator.go index 9525d5704..fef1f884d 100644 --- a/cmd/neofs-node/notificator.go +++ b/cmd/neofs-node/notificator.go @@ -106,7 +106,7 @@ func (n notificationWriter) Notify(topic string, address *addressSDK.Address) { } } -func initNotification(c *cfg) { +func initNotifications(c *cfg) { if nodeconfig.Notification(c.appCfg).Enabled() { topic := nodeconfig.Notification(c.appCfg).DefaultTopic() pubKey := base58.Encode(c.cfgNodeInfo.localInfo.PublicKey())