Skip to content

Commit 19c93d5

Browse files
committed
Do not request proposal to peers if the current state is Commit
1 parent 77e5bb2 commit 19c93d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/consensus/tendermint/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ impl Worker {
492492
}
493493

494494
pub fn need_proposal(&self) -> bool {
495-
self.proposal.is_none()
495+
self.proposal.is_none() && !self.step.is_commit()
496496
}
497497

498498
pub fn get_all_votes_and_authors(

0 commit comments

Comments
 (0)