From 1e96dfedb3e01892bd132ef898f7b8ecf330f53f Mon Sep 17 00:00:00 2001 From: aljo242 Date: Wed, 15 Nov 2023 17:22:56 -0500 Subject: [PATCH] acutally use value --- consensus/reactor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index 6308f19176a..ee857054014 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -850,7 +850,7 @@ func (conR *Reactor) gossipVotesForHeight( rs *cstypes.RoundState, prs *cstypes.PeerRoundState, ps *PeerState, - isProposer bool, + sendExtensions bool, ) bool { // If there are lastCommits to send... if prs.Step == cstypes.RoundStepNewHeight { @@ -878,7 +878,7 @@ func (conR *Reactor) gossipVotesForHeight( } // 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), true) { + if ps.PickSendVote(rs.Votes.Precommits(prs.Round), sendExtensions) { logger.Debug("Picked rs.Precommits(prs.Round) to send", "round", prs.Round) return true }