forked from TrueCloudLab/neoneo-go
compiler: fix binary.* syscalls compilation, fix #1152
They were attributed to a wrong package.
This commit is contained in:
parent
ebe37d1a46
commit
694963d607
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
||||||
package compiler
|
package compiler
|
||||||
|
|
||||||
var syscalls = map[string]map[string]string{
|
var syscalls = map[string]map[string]string{
|
||||||
|
"binary": {
|
||||||
|
"Serialize": "System.Binary.Serialize",
|
||||||
|
"Deserialize": "System.Binary.Deserialize",
|
||||||
|
},
|
||||||
"crypto": {
|
"crypto": {
|
||||||
"ECDsaVerify": "Neo.Crypto.ECDsaVerify",
|
"ECDsaVerify": "Neo.Crypto.ECDsaVerify",
|
||||||
},
|
},
|
||||||
|
@ -37,8 +41,6 @@ var syscalls = map[string]map[string]string{
|
||||||
"Notify": "System.Runtime.Notify",
|
"Notify": "System.Runtime.Notify",
|
||||||
"Log": "System.Runtime.Log",
|
"Log": "System.Runtime.Log",
|
||||||
"GetTime": "System.Runtime.GetTime",
|
"GetTime": "System.Runtime.GetTime",
|
||||||
"Serialize": "System.Binary.Serialize",
|
|
||||||
"Deserialize": "System.Binary.Deserialize",
|
|
||||||
},
|
},
|
||||||
"blockchain": {
|
"blockchain": {
|
||||||
"GetBlock": "System.Blockchain.GetBlock",
|
"GetBlock": "System.Blockchain.GetBlock",
|
||||||
|
|
Loading…
Reference in a new issue