interop: return struct pointers where needed
`Transaction`, `Block` and `Contract` are represented as
`Array`s in VM, so we must return pointers.
Revert a1f98f92
.
This commit is contained in:
parent
25f8545cdf
commit
37f7363386
5 changed files with 71 additions and 80 deletions
|
@ -9,8 +9,8 @@ import (
|
|||
// execution context. It never changes in a single execution, no matter how deep
|
||||
// this execution goes. This function uses
|
||||
// `System.Runtime.GetScriptContainer` syscall.
|
||||
func GetScriptContainer() blockchain.Transaction {
|
||||
return blockchain.Transaction{}
|
||||
func GetScriptContainer() *blockchain.Transaction {
|
||||
return &blockchain.Transaction{}
|
||||
}
|
||||
|
||||
// GetExecutingScriptHash returns script hash (160 bit in BE form represented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue