compiler|transaction: fix transaction.GetScript build, add to interop

There is no such syscall as Neo.Transaction.GetScript and GetScript should be
available for contract's use.
This commit is contained in:
Roman Khimov 2020-05-18 18:22:07 +03:00
parent 559e8a16da
commit 1cbd75ab9e
2 changed files with 8 additions and 1 deletions

View file

@ -72,7 +72,7 @@ var syscalls = map[string]map[string]string{
"GetOutputs": "Neo.Transaction.GetOutputs",
"GetReferences": "Neo.Transaction.GetReferences",
"GetUnspentCoins": "Neo.Transaction.GetUnspentCoins",
"GetScript": "Neo.Transaction.GetScript",
"GetScript": "Neo.InvocationTransaction.GetScript",
},
"asset": {
"Create": "Neo.Asset.Create",