mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-02 15:44:41 +00:00
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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue