From d20e54b725836531619867f3586bdfa8f12805e6 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Thu, 6 Aug 2020 19:27:15 +0300 Subject: [PATCH] rpc: fix method comment --- pkg/rpc/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/server/server.go b/pkg/rpc/server/server.go index 1a633045f..d6ee67ad8 100644 --- a/pkg/rpc/server/server.go +++ b/pkg/rpc/server/server.go @@ -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 {