Skip to content

Commit

Permalink
Correct log which didn't work as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Apr 20, 2024
1 parent ac9e356 commit fd4f247
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions coordinator/tributary/tendermint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -842,12 +842,10 @@ impl<N: Network + 'static> TendermintMachine<N> {
let (participation, weight) =
self.block.log.message_instances(self.block.round().number, &Data::Prevote(None));
let threshold_weight = self.weights.threshold();
if (participation < threshold_weight) &&
((threshold_weight - participation) > (threshold_weight / 10))
{
if participation < threshold_weight {
log::trace!(
target: "tendermint",
"close to setting prevote timeout, participation: {}, needed: {}",
"progess towards setting prevote timeout, participation: {}, needed: {}",
participation,
threshold_weight,
);
Expand Down

0 comments on commit fd4f247

Please sign in to comment.