compiler: emit Neo.Crypto.ECDsaVerify syscall instead of CHECKSIG

Also change the name of `VerifySignature` interop, to match
syscall's name. It also accepts arguments in different order.
This commit is contained in:
Evgenii Stratonikov 2020-03-23 12:44:23 +03:00
parent 948729137f
commit 4ad29d0867
5 changed files with 20 additions and 15 deletions

View file

@ -1,6 +1,9 @@
package compiler
var syscalls = map[string]map[string]string{
"crypto": {
"ECDsaVerify": "Neo.Crypto.ECDsaVerify",
},
"storage": {
"GetContext": "Neo.Storage.GetContext",
"Put": "Neo.Storage.Put",