Skip to content

Commit 064909f

Browse files
authored
Update consensus.rs
1 parent bfa5c27 commit 064909f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/src/consensus.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ impl<S: ConsensusSpec, R: ConsensusRpc<S>> Inner<S, R> {
505505
}
506506

507507
fn log_finality_update(&self, update: &FinalityUpdate<S>) {
508-
let size = S::sync_commitee_size() as f32;
508+
let size = S::sync_committee_size() as f32;
509509
let participation =
510510
get_bits::<S>(&update.sync_aggregate.sync_committee_bits) as f32 / size * 100f32;
511511
let decimals = if participation == 100.0 { 1 } else { 2 };
@@ -524,7 +524,7 @@ impl<S: ConsensusSpec, R: ConsensusRpc<S>> Inner<S, R> {
524524
}
525525

526526
fn log_optimistic_update(&self, update: &FinalityUpdate<S>) {
527-
let size = S::sync_commitee_size() as f32;
527+
let size = S::sync_committee_size() as f32;
528528
let participation =
529529
get_bits::<S>(&update.sync_aggregate.sync_committee_bits) as f32 / size * 100f32;
530530
let decimals = if participation == 100.0 { 1 } else { 2 };

0 commit comments

Comments
 (0)