native: change getCommittee/getNextBlockValidators price

See neo-project/neo#2392, neo-project/neo#2391.
This commit is contained in:
Roman Khimov 2021-03-12 11:32:27 +03:00
parent 096f48caf0
commit 6326094264

View file

@ -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)