mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +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) =
|
||||
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,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue