Skip to content

Commit

Permalink
Fix unused check
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 8, 2024
1 parent 87bc3af commit 0a6e24e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/beacon-node/src/chain/rewards/attestationsRewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ const defaultAttestationsReward = {head: 0, target: 0, source: 0, inclusionDelay
const defaultAttestationsPenalty = {target: 0, source: 0};

export async function computeAttestationsRewards(
// biome-ignore lint/correctness/noUnusedVariables:
epoch: Epoch,
_epoch: Epoch,
state: CachedBeaconStateAllForks,
// biome-ignore lint/correctness/noUnusedVariables:
config: BeaconConfig,
_config: BeaconConfig,
validatorIds?: (ValidatorIndex | string)[]
): Promise<AttestationsRewards> {
const fork = state.config.getForkName(state.slot);
Expand Down

0 comments on commit 0a6e24e

Please sign in to comment.