Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Sproul <[email protected]>
  • Loading branch information
pawanjay176 and michaelsproul authored Aug 26, 2021
1 parent 1613888 commit 0e4cd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_node/beacon_chain/src/validator_monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl EpochSummary {
Self::update_if_lt(&mut self.aggregate_min_delay, delay);
}

pub fn register_sync_committee_contribtion(&mut self, delay: Duration) {
pub fn register_sync_committee_contribution(&mut self, delay: Duration) {
self.sync_contributions += 1;
Self::update_if_lt(&mut self.sync_contribution_min_delay, delay);
}
Expand Down Expand Up @@ -1025,7 +1025,7 @@ impl<T: EthSpec> ValidatorMonitor<T> {
);

validator.with_epoch_summary(epoch, |summary| {
summary.register_sync_committee_contribtion(delay)
summary.register_sync_committee_contribution(delay)
});
}

Expand Down

0 comments on commit 0e4cd41

Please sign in to comment.