rpc: remove json names from result.Invoke struct

We use invokeAux to marshal result.Invoke to JSON.
This commit is contained in:
Anna Shaleva 2020-10-05 16:00:15 +03:00
parent 0e82d4cbd1
commit d27775acc5

View file

@ -9,10 +9,10 @@ import (
// Invoke represents code invocation result and is used by several RPC calls
// that invoke functions, scripts and generic bytecode.
type Invoke struct {
State string `json:"state"`
GasConsumed int64 `json:"gasconsumed,string"`
Script string `json:"script"`
Stack []stackitem.Item `json:"stack"`
State string
GasConsumed int64
Script string
Stack []stackitem.Item
}
type invokeAux struct {