rpc: drop duplicating Invoke* structures
And use smartcontract.Parameter instead of vm.StackItem where appropriate. Closes #689.
This commit is contained in:
parent
56e37ad6ba
commit
4c8d327353
7 changed files with 17 additions and 39 deletions
|
@ -1,7 +1,7 @@
|
|||
package result
|
||||
|
||||
import (
|
||||
"github.com/CityOfZion/neo-go/pkg/vm"
|
||||
"github.com/CityOfZion/neo-go/pkg/smartcontract"
|
||||
)
|
||||
|
||||
// Invoke represents code invocation result and is used by several RPC calls
|
||||
|
@ -10,5 +10,5 @@ type Invoke struct {
|
|||
State string `json:"state"`
|
||||
GasConsumed string `json:"gas_consumed"`
|
||||
Script string `json:"script"`
|
||||
Stack *vm.Stack
|
||||
Stack []smartcontract.Parameter
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue