Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozen committed Dec 18, 2024
1 parent 647cb9b commit c9518a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/consensus_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (consensus *Consensus) finalCommit1s(isLeader bool, viewID uint64, nextBloc
}

block.SetCurrentCommitSig(commitSigAndBitmap)
err := consensus.commitBlock1s(block, FBFTMsg)
err := consensus.commitBlock(block, FBFTMsg)

if err != nil || consensus.BlockNum()-beforeCatchupNum != 1 {
consensus.getLogger().Err(err).
Expand Down

0 comments on commit c9518a5

Please sign in to comment.