Skip to content

Commit

Permalink
Fix emitted inputs when no proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Dec 7, 2023
1 parent d60f403 commit c1a7761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/driver/src/mux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ where
match new_threshold {
VoteKeeperOutput::PolkaAny => Some(RoundInput::PolkaAny),
VoteKeeperOutput::PolkaNil => Some(RoundInput::PolkaNil),
VoteKeeperOutput::PolkaValue(_) => None,
VoteKeeperOutput::PolkaValue(_) => Some(RoundInput::PolkaAny),
VoteKeeperOutput::PrecommitAny => Some(RoundInput::PrecommitAny),
VoteKeeperOutput::PrecommitValue(_) => None,
VoteKeeperOutput::PrecommitValue(_) => Some(RoundInput::PrecommitAny),
VoteKeeperOutput::SkipRound(r) => Some(RoundInput::SkipRound(r)),
}
}
Expand Down

0 comments on commit c1a7761

Please sign in to comment.