From c767ac29732259ce9c878aa06596e8416475e46d Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 19 Jun 2020 20:43:44 +0300 Subject: [PATCH] core: fix NEO native contract id It should be set to -1 as in c# implementation. --- pkg/core/native/native_neo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/native/native_neo.go b/pkg/core/native/native_neo.go index c61ae9cb0..fab5f8404 100644 --- a/pkg/core/native/native_neo.go +++ b/pkg/core/native/native_neo.go @@ -34,7 +34,7 @@ type keyWithVotes struct { const ( neoSyscallName = "Neo.Native.Tokens.NEO" - neoContractID = -2 + neoContractID = -1 // NEOTotalSupply is the total amount of NEO in the system. NEOTotalSupply = 100000000 // prefixValidator is a prefix used to store validator's data.