Skip to content

Commit

Permalink
fixed bug: unaggregated commit at the end of Consensus
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-mena committed Jan 11, 2025
1 parent ebfba32 commit ff1a813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/consensus/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -1929,7 +1929,7 @@ func (cs *State) finalizeCommit(height int64) {
} else {
// NOTE: the seenCommit is local justification to commit this block,
// but may differ from the LastCommit included in the next block
seenExtendedCommit = cs.Votes.Precommits(cs.CommitRound).MakeExtendedCommit(cs.state.ConsensusParams.Feature)
seenExtendedCommit = cs.Votes.Precommits(cs.CommitRound).MakeBLSCommit()
}
if cs.isVoteExtensionsEnabled(block.Height) {
cs.blockStore.SaveBlockWithExtendedCommit(block, blockParts, seenExtendedCommit)
Expand Down

0 comments on commit ff1a813

Please sign in to comment.