Skip to content

Commit

Permalink
fix Commit.GetVote() bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Qi Zhou committed Mar 8, 2022
1 parent 5c9a842 commit e212d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/chamber_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (commit *Commit) GetVote(valIdx int32) *Vote {
Type: PrecommitType,
Height: commit.Height,
Round: SafeConvertInt32FromUint32(commit.Round),
BlockID: commit.BlockID,
BlockID: commitSig.BlockID(commit.BlockID),
TimestampMs: commitSig.TimestampMs,
ValidatorAddress: commitSig.ValidatorAddress,
ValidatorIndex: valIdx,
Expand Down

0 comments on commit e212d9f

Please sign in to comment.