mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-30 09:33:36 +00:00
1e62474514
result.Invoke shouldn't depend on vm.
12 lines
290 B
Go
12 lines
290 B
Go
package invocations
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/util"
|
|
)
|
|
|
|
// Tree represents a tree with script hashes; when traversing it,
|
|
// you can see how contracts called each other.
|
|
type Tree struct {
|
|
Current util.Uint160 `json:"hash"`
|
|
Calls []*Tree `json:"call,omitempty"`
|
|
}
|