core: fix native Neo parameter name
Affects dumps.
This commit is contained in:
parent
99f58d9cd5
commit
49b1b4bb27
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue