change vote extension verification method name

This commit is contained in:
William Banfield
2022-05-15 22:43:33 -04:00
parent 0784bac4df
commit 4d33880dee
4 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -2385,7 +2385,7 @@ func (cs *State) addVote(
err := vote.EnsureExtension()
if err == nil {
_, val := cs.state.Validators.GetByIndex(vote.ValidatorIndex)
err = vote.VerifyWithExtension(cs.state.ChainID, val.PubKey)
err = vote.VerifyExtension(cs.state.ChainID, val.PubKey)
}
if err == nil {
err := cs.blockExec.VerifyVoteExtension(ctx, vote)