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:
Roman Khimov 2020-03-28 13:59:42 +03:00
parent 198fffb9b8
commit 2316e2c4a7

View file

@ -10,5 +10,5 @@ type Invoke struct {
State string `json:"state"`
GasConsumed string `json:"gas_consumed"`
Script string `json:"script"`
Stack []smartcontract.Parameter
Stack []smartcontract.Parameter `json:"stack"`
}