From eb27699dadbb4bdc9c48b300785c6f46145a9563 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 2 Dec 2021 17:46:48 +0300 Subject: [PATCH] vm: put child invocation tree nodes into `call` element As neo-project/neo-modules#657 currently does. --- pkg/vm/invocation_tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/vm/invocation_tree.go b/pkg/vm/invocation_tree.go index dec64d11a..8019bf467 100644 --- a/pkg/vm/invocation_tree.go +++ b/pkg/vm/invocation_tree.go @@ -8,5 +8,5 @@ import ( // you can see how contracts called each other. type InvocationTree struct { Current util.Uint160 `json:"hash"` - Calls []*InvocationTree `json:"calls,omitempty"` + Calls []*InvocationTree `json:"call,omitempty"` }