mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-12 09:26:51 +00:00
Correct log which didn't work as intended
This commit is contained in:
parent
ac9e356af4
commit
fd4f247917
1 changed files with 2 additions and 4 deletions
|
@ -842,12 +842,10 @@ impl<N: Network + 'static> TendermintMachine<N> {
|
||||||
let (participation, weight) =
|
let (participation, weight) =
|
||||||
self.block.log.message_instances(self.block.round().number, &Data::Prevote(None));
|
self.block.log.message_instances(self.block.round().number, &Data::Prevote(None));
|
||||||
let threshold_weight = self.weights.threshold();
|
let threshold_weight = self.weights.threshold();
|
||||||
if (participation < threshold_weight) &&
|
if participation < threshold_weight {
|
||||||
((threshold_weight - participation) > (threshold_weight / 10))
|
|
||||||
{
|
|
||||||
log::trace!(
|
log::trace!(
|
||||||
target: "tendermint",
|
target: "tendermint",
|
||||||
"close to setting prevote timeout, participation: {}, needed: {}",
|
"progess towards setting prevote timeout, participation: {}, needed: {}",
|
||||||
participation,
|
participation,
|
||||||
threshold_weight,
|
threshold_weight,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue