added partial syscall mapping

Imported from CityOfZion/neo-storm (26d10c72f6e3d298135ec3995eb2d821640c3b7c).
This commit is contained in:
Anthony De Meulemeester 2018-08-20 09:07:08 +02:00 committed by Roman Khimov
parent 33c512032f
commit 1927bc54d5
5 changed files with 83 additions and 34 deletions

View file

@ -532,7 +532,7 @@ func (c *codegen) Visit(node ast.Node) ast.Visitor {
}
func (c *codegen) convertSyscall(name string) {
api, ok := vm.Syscalls[name]
api, ok := syscalls[name]
if !ok {
log.Fatalf("unknown VM syscall api: %s", name)
}