forked from TrueCloudLab/neoneo-go
Merge pull request #805 from nspcc-dev/fix-rpc-invocation-json
rpc: fix stack field name for invocation results
This commit is contained in:
commit
92bafffcd8
1 changed files with 4 additions and 4 deletions
|
@ -7,8 +7,8 @@ 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 `json:"state"`
|
||||||
GasConsumed string `json:"gas_consumed"`
|
GasConsumed string `json:"gas_consumed"`
|
||||||
Script string `json:"script"`
|
Script string `json:"script"`
|
||||||
Stack []smartcontract.Parameter
|
Stack []smartcontract.Parameter `json:"stack"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue