Skip to content

Commit

Permalink
Align variable name of timer with histogram naming
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Jan 8, 2024
1 parent 487f832 commit 624588c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/beacon-node/src/chain/prepareNextSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class PrepareNextSlotScheduler {
headRoot,
isEpochTransition,
});
const lodestarPrecomputeEpochTransitionTimer = isEpochTransition
const precomputeEpochTransitionTimer = isEpochTransition
? this.metrics?.precomputeNextEpochTransition.duration.startTimer()
: null;
// No need to wait for this or the clock drift
Expand Down Expand Up @@ -137,7 +137,7 @@ export class PrepareNextSlotScheduler {
previousHits,
});

lodestarPrecomputeEpochTransitionTimer?.();
precomputeEpochTransitionTimer?.();
}

if (isExecutionStateType(prepareState)) {
Expand Down

0 comments on commit 624588c

Please sign in to comment.