From 694963d607528f7f26cdde7a148812cacf24f5eb Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 7 Jul 2020 21:57:51 +0300 Subject: [PATCH] compiler: fix binary.* syscalls compilation, fix #1152 They were attributed to a wrong package. --- pkg/compiler/syscall.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/compiler/syscall.go b/pkg/compiler/syscall.go index be1b8a9c9..9b725a1c4 100644 --- a/pkg/compiler/syscall.go +++ b/pkg/compiler/syscall.go @@ -1,6 +1,10 @@ package compiler var syscalls = map[string]map[string]string{ + "binary": { + "Serialize": "System.Binary.Serialize", + "Deserialize": "System.Binary.Deserialize", + }, "crypto": { "ECDsaVerify": "Neo.Crypto.ECDsaVerify", }, @@ -37,8 +41,6 @@ var syscalls = map[string]map[string]string{ "Notify": "System.Runtime.Notify", "Log": "System.Runtime.Log", "GetTime": "System.Runtime.GetTime", - "Serialize": "System.Binary.Serialize", - "Deserialize": "System.Binary.Deserialize", }, "blockchain": { "GetBlock": "System.Blockchain.GetBlock",