diff --git a/pkg/morph/client/netmap/update_state.go b/pkg/morph/client/netmap/update_state.go index 2a825a3040..ad50d7d0b5 100644 --- a/pkg/morph/client/netmap/update_state.go +++ b/pkg/morph/client/netmap/update_state.go @@ -27,8 +27,8 @@ func (u *UpdateStateArgs) SetState(v int64) { // of NeoFS Netmap contract. func (c *Client) UpdateState(args UpdateStateArgs) error { return errors.Wrapf(c.client.Invoke( - c.addPeerMethod, - args.key, + c.updateStateMethod, args.state, + args.key, ), "could not invoke method (%s)", c.updateStateMethod) }