rpc: fix typo in method description

This commit is contained in:
Anna Shaleva 2020-06-10 11:53:11 +03:00
parent 0af5b9339d
commit 3549515fd7

View file

@ -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 {