Merge pull request #2291 from nspcc-dev/invtree-call-json

vm: put child invocation tree nodes into `call` element
This commit is contained in:
Roman Khimov 2021-12-02 19:15:22 +03:00 committed by GitHub
commit b16497cbc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`
}