From 3549515fd71b605ae14397c2e2694c227fedb983 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 10 Jun 2020 11:53:11 +0300 Subject: [PATCH] rpc: fix typo in method description --- 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 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 {