forked from TrueCloudLab/neoneo-go
Merge pull request #1828 from nspcc-dev/lower-getter-prices
native: change getCommittee/getNextBlockValidators price
This commit is contained in:
commit
508a1ca9ee
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue