[#1243] node: Rename notifications init func

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-03-15 21:09:38 +03:00 committed by Alex Vanin
parent d02720c910
commit a4a29f3442
2 changed files with 2 additions and 2 deletions

View file

@ -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())