From 41337732be52c482af380884a40b844665ebecd2 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 633335b4b..a573fb530 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", + }, "crypto": { "ECDsaVerify": "Neo.Crypto.ECDsaVerify", },