native: lower voting fee

Follow neo-project/neo#2010.
This commit is contained in:
Roman Khimov 2020-10-26 22:12:56 +03:00
parent eca1221d22
commit c4a4a84515

View file

@ -137,7 +137,7 @@ func newNEO() *NEO {
desc = newDescriptor("vote", smartcontract.BoolType,
manifest.NewParameter("account", smartcontract.Hash160Type),
manifest.NewParameter("pubkey", smartcontract.PublicKeyType))
md = newMethodAndPrice(n.vote, 500000000, smartcontract.AllowModifyStates)
md = newMethodAndPrice(n.vote, 5000000, smartcontract.AllowModifyStates)
n.AddMethod(md, desc, false)
desc = newDescriptor("getCandidates", smartcontract.ArrayType)