Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 1e96dfe

Browse files
author
aljo242
committed
acutally use value
1 parent a5ea98f commit 1e96dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

consensus/reactor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ func (conR *Reactor) gossipVotesForHeight(
850850
rs *cstypes.RoundState,
851851
prs *cstypes.PeerRoundState,
852852
ps *PeerState,
853-
isProposer bool,
853+
sendExtensions bool,
854854
) bool {
855855
// If there are lastCommits to send...
856856
if prs.Step == cstypes.RoundStepNewHeight {
@@ -878,7 +878,7 @@ func (conR *Reactor) gossipVotesForHeight(
878878
}
879879
// If there are precommits to send...
880880
if prs.Step <= cstypes.RoundStepPrecommitWait && prs.Round != -1 && prs.Round <= rs.Round {
881-
if ps.PickSendVote(rs.Votes.Precommits(prs.Round), true) {
881+
if ps.PickSendVote(rs.Votes.Precommits(prs.Round), sendExtensions) {
882882
logger.Debug("Picked rs.Precommits(prs.Round) to send", "round", prs.Round)
883883
return true
884884
}

0 commit comments

Comments
 (0)