diff --git a/pkg/innerring/processors/netmap/processor.go b/pkg/innerring/processors/netmap/processor.go index ba7630bee..0d135117a 100644 --- a/pkg/innerring/processors/netmap/processor.go +++ b/pkg/innerring/processors/netmap/processor.go @@ -176,6 +176,8 @@ func (np *Processor) ListenerNotificationParsers() []event.NotificationParserInf p.SetType(removeNodeNotification) p.SetParser(subnetEvent.ParseRemoveNode) + parsers = append(parsers, p) + p.SetScriptHash(np.netmapClient.ContractAddress()) // new epoch event @@ -211,6 +213,8 @@ func (np *Processor) ListenerNotificationHandlers() []event.NotificationHandlerI i.SetType(removeNodeNotification) i.SetHandler(np.handleRemoveNode) + handlers = append(handlers, i) + i.SetScriptHash(np.netmapClient.ContractAddress()) // new epoch handler