rpc: add notifications into the invoke* result

This commit is contained in:
Roman Khimov 2022-01-18 22:35:44 +03:00
parent 0afe8826ba
commit d79d8324e0
4 changed files with 57 additions and 18 deletions

View file

@ -1715,7 +1715,7 @@ func (s *Server) runScriptInVM(t trigger.Type, script []byte, contractScriptHash
if err != nil {
faultException = err.Error()
}
return result.NewInvoke(ic.VM, ic.Finalize, script, faultException, s.config.MaxIteratorResultItems), nil
return result.NewInvoke(ic, script, faultException, s.config.MaxIteratorResultItems), nil
}
// submitBlock broadcasts a raw block over the NEO network.