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
|
||||
// that invoke functions, scripts and generic bytecode.
|
||||
type Invoke struct {
|
||||
State string `json:"state"`
|
||||
GasConsumed string `json:"gas_consumed"`
|
||||
Script string `json:"script"`
|
||||
Stack []smartcontract.Parameter
|
||||
State string `json:"state"`
|
||||
GasConsumed string `json:"gas_consumed"`
|
||||
Script string `json:"script"`
|
||||
Stack []smartcontract.Parameter `json:"stack"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue