Skip to content

Commit de00d23

Browse files
committed
Do not request proposal to peers if the current state is Commit
1 parent e1a7539 commit de00d23

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
@@ -494,7 +494,7 @@ impl Worker {
494494
}
495495

496496
pub fn need_proposal(&self) -> bool {
497-
self.proposal.is_none()
497+
self.proposal.is_none() && !self.step.is_commit()
498498
}
499499

500500
pub fn get_all_votes_and_authors(

0 commit comments

Comments
 (0)