From fd4f247917cb83de19f933f75e8cf90008b25976 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 20 Apr 2024 19:54:16 -0400 Subject: [PATCH] Correct log which didn't work as intended --- coordinator/tributary/tendermint/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/coordinator/tributary/tendermint/src/lib.rs b/coordinator/tributary/tendermint/src/lib.rs index a240d13a..da80a41c 100644 --- a/coordinator/tributary/tendermint/src/lib.rs +++ b/coordinator/tributary/tendermint/src/lib.rs @@ -842,12 +842,10 @@ impl TendermintMachine { 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, );