diff --git a/pkg/innerring/processors/netmap/process_peers.go b/pkg/innerring/processors/netmap/process_peers.go index 6306a65078..4777700b7b 100644 --- a/pkg/innerring/processors/netmap/process_peers.go +++ b/pkg/innerring/processors/netmap/process_peers.go @@ -88,10 +88,10 @@ func (np *Processor) processAddPeer(ev netmapEvent.AddPeer) { prm := netmapclient.AddPeerPrm{} prm.SetNodeInfo(nodeInfo) - // In notary environments we call Register method instead of AddPeer. + // In notary environments we call AddPeerIR method instead of AddPeer. // It differs from AddPeer only by name, so we can do this in the same form. // See https://github.com/nspcc-dev/neofs-contract/issues/154. - const methodAddPeerNotary = "register" + const methodAddPeerNotary = "addPeerIR" if nr := ev.NotaryRequest(); nr != nil { // create new notary request with the original nonce