From 6326094264ea87c6260566f0bc1a2711f4170aa4 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 12 Mar 2021 11:32:27 +0300 Subject: [PATCH] native: change getCommittee/getNextBlockValidators price See neo-project/neo#2392, neo-project/neo#2391. --- pkg/core/native/native_neo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/native/native_neo.go b/pkg/core/native/native_neo.go index 248a502f8..e1d5d3f50 100644 --- a/pkg/core/native/native_neo.go +++ b/pkg/core/native/native_neo.go @@ -143,11 +143,11 @@ func newNEO() *NEO { n.AddMethod(md, desc) desc = newDescriptor("getCommittee", smartcontract.ArrayType) - md = newMethodAndPrice(n.getCommittee, 1<<22, callflag.ReadStates) + md = newMethodAndPrice(n.getCommittee, 1<<16, callflag.ReadStates) n.AddMethod(md, desc) desc = newDescriptor("getNextBlockValidators", smartcontract.ArrayType) - md = newMethodAndPrice(n.getNextBlockValidators, 1<<22, callflag.ReadStates) + md = newMethodAndPrice(n.getNextBlockValidators, 1<<16, callflag.ReadStates) n.AddMethod(md, desc) desc = newDescriptor("getGasPerBlock", smartcontract.IntegerType)