mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-02-18 11:15:36 +00:00
rpc: fix stack field name for invocation results
Follow C# implementation: https://docs.neo.org/docs/en-us/reference/rpc/latest-version/api/invokefunction.html
This commit is contained in:
parent
198fffb9b8
commit
2316e2c4a7
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…
Add table
Reference in a new issue