diff --git a/core/ibft.go b/core/ibft.go index 8b650bb..d475d16 100644 --- a/core/ibft.go +++ b/core/ibft.go @@ -803,8 +803,6 @@ func (i *IBFT) runPrepare(ctx context.Context) { for { prepareMessages := i.handlePrepare(view) if prepareMessages != nil { - i.log.Debug("commit message multicasted") - i.state.finalizePrepare( &proto.PreparedCertificate{ ProposalMessage: i.state.getProposalMessage(), @@ -818,6 +816,8 @@ func (i *IBFT) runPrepare(ctx context.Context) { // Multicast the COMMIT message i.sendCommitMessage(view) + i.log.Debug("commit message multicasted") + return }