rpc: fix method comment

This commit is contained in:
Anna Shaleva 2020-08-06 19:27:15 +03:00
parent 4715efd531
commit d20e54b725

View file

@ -1086,7 +1086,7 @@ func (s *Server) invoke(reqParams request.Params) (interface{}, *response.Error)
return s.runScriptInVM(script, hashesForVerifying), nil
}
// invokescript implements the `invokescript` RPC call.
// invokeFunction implements the `invokefunction` RPC call.
func (s *Server) invokeFunction(reqParams request.Params) (interface{}, *response.Error) {
scriptHash, err := reqParams.ValueWithType(0, request.StringT).GetUint160FromHex()
if err != nil {