Skip to content

Commit

Permalink
fix: Modify omission of change to change ValidatorSet to VoterSet (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kynea0b authored Nov 4, 2021
1 parent be9b967 commit b628591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ func (cs *State) signVote(
}

addr := cs.privValidatorPubKey.Address()
valIdx, _ := cs.Validators.GetByAddress(addr)
valIdx, _ := cs.Voters.GetByAddress(addr)

vote := &types.Vote{
ValidatorAddress: addr,
Expand Down

0 comments on commit b628591

Please sign in to comment.