Update internal/consensus/state.go

Co-authored-by: Sergio Mena <sergio@informal.systems>
This commit is contained in:
William Banfield
2022-05-16 15:29:49 -04:00
committed by GitHub
co-authored by Sergio Mena
parent ed9df4d1f1
commit 17d5e71489
+1 -1
View File
@@ -2386,7 +2386,7 @@ func (cs *State) addVote(
!bytes.Equal(vote.ValidatorAddress, myAddr) {
// The core fields of the vote message were already validated in the
// consensus reactor when the vote was received.
// Here, we valdiate that the vote extension was included in the vote
// Here, we validate that the vote extension was included in the vote
// message.
// Chains that are not configured to require vote extensions
// will consider the vote valid even if the extension is absent.