core: fix native NEO's getCandidateVote
signature
This commit fixes T5 statediff at block #0. Management's storage item differs between neo-go and C# nodes, the reason in native NEO contract state. The parameter should have `pubKey` name, unlike the other `pubkey` arguments in this contract.
This commit is contained in:
parent
ca127f1615
commit
1472c271e6
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ func newNEO(cfg config.ProtocolConfiguration) *NEO {
|
|||
n.AddMethod(md, desc)
|
||||
|
||||
desc = newDescriptor("getCandidateVote", smartcontract.IntegerType,
|
||||
manifest.NewParameter("pubkey", smartcontract.PublicKeyType))
|
||||
manifest.NewParameter("pubKey", smartcontract.PublicKeyType))
|
||||
md = newMethodAndPrice(n.getCandidateVoteCall, 1<<15, callflag.ReadStates)
|
||||
n.AddMethod(md, desc)
|
||||
|
||||
|
|
Loading…
Reference in a new issue