mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
rpc: remove json names from result.Invoke struct
We use invokeAux to marshal result.Invoke to JSON.
This commit is contained in:
parent
0e82d4cbd1
commit
d27775acc5
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue