diff --git a/pkg/rpc/server/server.go b/pkg/rpc/server/server.go index 7777c4416..1068c2a2d 100644 --- a/pkg/rpc/server/server.go +++ b/pkg/rpc/server/server.go @@ -854,7 +854,7 @@ func (s *Server) getValidators(_ request.Params) (interface{}, *response.Error) return res, nil } -// invokescript implements the `invokescript` RPC call. +// invokeFunction implements the `invokeFunction` RPC call. func (s *Server) invokeFunction(reqParams request.Params) (interface{}, *response.Error) { scriptHashHex, ok := reqParams.ValueWithType(0, request.StringT) if !ok {