core: fix native Neo parameter name

Affects dumps.
This commit is contained in:
Anna Shaleva 2021-02-12 16:53:49 +03:00
parent 99f58d9cd5
commit 49b1b4bb27

View file

@ -125,7 +125,7 @@ func newNEO() *NEO {
desc = newDescriptor("vote", smartcontract.BoolType, desc = newDescriptor("vote", smartcontract.BoolType,
manifest.NewParameter("account", smartcontract.Hash160Type), manifest.NewParameter("account", smartcontract.Hash160Type),
manifest.NewParameter("pubkey", smartcontract.ByteArrayType)) manifest.NewParameter("voteTo", smartcontract.ByteArrayType))
md = newMethodAndPrice(n.vote, 5000000, callflag.WriteStates) md = newMethodAndPrice(n.vote, 5000000, callflag.WriteStates)
n.AddMethod(md, desc) n.AddMethod(md, desc)