diff --git a/pkg/core/native/native_neo.go b/pkg/core/native/native_neo.go index 57f83d713..6c35b1b22 100644 --- a/pkg/core/native/native_neo.go +++ b/pkg/core/native/native_neo.go @@ -125,7 +125,7 @@ func newNEO() *NEO { desc = newDescriptor("vote", smartcontract.BoolType, manifest.NewParameter("account", smartcontract.Hash160Type), - manifest.NewParameter("pubkey", smartcontract.ByteArrayType)) + manifest.NewParameter("voteTo", smartcontract.ByteArrayType)) md = newMethodAndPrice(n.vote, 5000000, callflag.WriteStates) n.AddMethod(md, desc)