From 8ebe1d692455b19c779ac0697c8669723a178e66 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Wed, 23 Nov 2022 10:59:34 -0500 Subject: [PATCH] comment out prevote send in general? --- consensus/reactor.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index bf263f65a..165b48003 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -817,12 +817,14 @@ func (conR *Reactor) gossipVotesForHeight( } */ // If there are prevotes to send... - if prs.Step <= cstypes.RoundStepPrevoteWait && prs.Round != -1 && prs.Round <= rs.Round { - if ps.PickSendVote(rs.Votes.Prevotes(prs.Round)) { - logger.Debug("Picked rs.Prevotes(prs.Round) to send", "round", prs.Round) - return true + /* + if prs.Step <= cstypes.RoundStepPrevoteWait && prs.Round != -1 && prs.Round <= rs.Round { + if ps.PickSendVote(rs.Votes.Prevotes(prs.Round)) { + logger.Debug("Picked rs.Prevotes(prs.Round) to send", "round", prs.Round) + return true + } } - } + */ // If there are precommits to send... if prs.Step <= cstypes.RoundStepPrecommitWait && prs.Round != -1 && prs.Round <= rs.Round { if ps.PickSendVote(rs.Votes.Precommits(prs.Round)) {