mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-12 11:10:35 +00:00
rpc: fix method comment
This commit is contained in:
parent
4715efd531
commit
d20e54b725
1 changed files with 1 additions and 1 deletions
|
@ -1086,7 +1086,7 @@ func (s *Server) invoke(reqParams request.Params) (interface{}, *response.Error)
|
||||||
return s.runScriptInVM(script, hashesForVerifying), nil
|
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) {
|
func (s *Server) invokeFunction(reqParams request.Params) (interface{}, *response.Error) {
|
||||||
scriptHash, err := reqParams.ValueWithType(0, request.StringT).GetUint160FromHex()
|
scriptHash, err := reqParams.ValueWithType(0, request.StringT).GetUint160FromHex()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue