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
|
// Invoke represents code invocation result and is used by several RPC calls
|
||||||
// that invoke functions, scripts and generic bytecode.
|
// that invoke functions, scripts and generic bytecode.
|
||||||
type Invoke struct {
|
type Invoke struct {
|
||||||
State string `json:"state"`
|
State string
|
||||||
GasConsumed int64 `json:"gasconsumed,string"`
|
GasConsumed int64
|
||||||
Script string `json:"script"`
|
Script string
|
||||||
Stack []stackitem.Item `json:"stack"`
|
Stack []stackitem.Item
|
||||||
}
|
}
|
||||||
|
|
||||||
type invokeAux struct {
|
type invokeAux struct {
|
||||||
|
|
Loading…
Reference in a new issue