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
|
@ -624,7 +624,7 @@ func (s *Server) runScriptInVM(script []byte) *result.Invoke {
|
|||
State: vm.State(),
|
||||
GasConsumed: vm.GasConsumed().String(),
|
||||
Script: hex.EncodeToString(script),
|
||||
Stack: vm.Estack(),
|
||||
Stack: vm.Estack().ToContractParameters(),
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue