core, compiler: return struct from GetScriptContainer interop
Closes #1173
This commit is contained in:
parent
d1b92f1767
commit
c4f7b06974
3 changed files with 14 additions and 5 deletions
|
@ -1146,7 +1146,7 @@ func (c *codegen) convertSyscall(expr *ast.CallExpr, api, name string) {
|
|||
}
|
||||
emit.Syscall(c.prog.BinWriter, api)
|
||||
switch name {
|
||||
case "GetTransaction", "GetBlock":
|
||||
case "GetTransaction", "GetBlock", "GetScriptContainer":
|
||||
c.emitConvert(stackitem.StructT)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue