diff --git a/pkg/rpc/response/result/invoke.go b/pkg/rpc/response/result/invoke.go index bab39a104..7b9f83522 100644 --- a/pkg/rpc/response/result/invoke.go +++ b/pkg/rpc/response/result/invoke.go @@ -29,7 +29,7 @@ func (r Invoke) MarshalJSON() ([]byte, error) { for i := range arr { data, err := stackitem.ToJSONWithTypes(r.Stack[i]) if err != nil { - st = []byte("error: recursive reference") + st = []byte(`"error: recursive reference"`) break } arr[i] = data