From 9c46e797456a75fb54b2556d2a1508f588d83465 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Sun, 17 May 2020 18:50:37 +0300 Subject: [PATCH] compiler: add support for account syscalls Turns out, they never functioned correctly. --- pkg/compiler/syscall.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/compiler/syscall.go b/pkg/compiler/syscall.go index 01234955b..c0baaaa03 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -1,6 +1,12 @@ package compiler var syscalls = map[string]map[string]string{ + "account": { + "GetBalance": "Neo.Account.GetBalance", + "GetScriptHash": "Neo.Account.GetScriptHash", + "GetVotes": "Neo.Account.GetVotes", + "IsStandard": "Neo.Account.IsStandard", + }, "storage": { "GetContext": "Neo.Storage.GetContext", "Put": "Neo.Storage.Put",