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