diff --git a/internal/consensus/reactor.go b/internal/consensus/reactor.go index 8153d74828..04f16a1d41 100644 --- a/internal/consensus/reactor.go +++ b/internal/consensus/reactor.go @@ -942,7 +942,6 @@ func sendEntireCommit(logger log.Logger, // } } return nil - } func pickVoteToSend( diff --git a/internal/consensus/state.go b/internal/consensus/state.go index 4f7492c3f9..785ec39efb 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -2626,11 +2626,8 @@ func (cs *State) AddCommit(commit *types.Commit, peerID p2p.ID) (added bool, err cs.enterPrecommit(height, commit.Round) cs.enterCommit(height, commit.Round) - // TODO Enable back. Does Commit have something similar? If not implement HasAll() for Commit - // skipTimeoutCommit := cs.state.NextBlockDelay == 0 && cs.config.TimeoutCommit == 0 - // if skipTimeoutCommit && commit.HasAll() { - // cs.enterNewRound(cs.Height, 0) - // } + // We skip timeoutCommit as this function is hit only when the node is late + cs.enterNewRound(cs.Height, 0) return added, err }