native: change getCommittee/getNextBlockValidators price
See neo-project/neo#2392, neo-project/neo#2391.
This commit is contained in:
parent
096f48caf0
commit
6326094264
1 changed files with 2 additions and 2 deletions
|
@ -143,11 +143,11 @@ func newNEO() *NEO {
|
||||||
n.AddMethod(md, desc)
|
n.AddMethod(md, desc)
|
||||||
|
|
||||||
desc = newDescriptor("getCommittee", smartcontract.ArrayType)
|
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)
|
n.AddMethod(md, desc)
|
||||||
|
|
||||||
desc = newDescriptor("getNextBlockValidators", smartcontract.ArrayType)
|
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)
|
n.AddMethod(md, desc)
|
||||||
|
|
||||||
desc = newDescriptor("getGasPerBlock", smartcontract.IntegerType)
|
desc = newDescriptor("getGasPerBlock", smartcontract.IntegerType)
|
||||||
|
|
Loading…
Reference in a new issue