core, compiler: return struct from GetScriptContainer interop

Closes #1173
This commit is contained in:
Anna Shaleva 2020-07-13 13:05:31 +03:00
parent d1b92f1767
commit c4f7b06974
3 changed files with 14 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import (
// Main is that famous Main() function, you know.
func Main() bool {
tx := runtime.GetScriptContainer()
runtime.Notify(tx)
runtime.Notify(tx.Hash)
callingScriptHash := runtime.GetCallingScriptHash()
runtime.Notify(callingScriptHash)