Skip to content

Commit

Permalink
Fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ensi321 committed Apr 13, 2024
1 parent 505d134 commit f631fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function computeTotalAttestationsRewardsAltair(
const {statuses} = transitionCache;
const {epochCtx, config} = state;
const validatorIndices = validatorIds
?.map((id) => (typeof id === "number" ? id : epochCtx.pubkey2index.get(id)))
?.map((id) => (typeof id === "number" ? id : epochCtx.finalizedPubkey2index.get(id)))
.filter((index) => index !== undefined); // Validator indices to include in the result

const inactivityPenaltyDenominator = config.INACTIVITY_SCORE_BIAS * INACTIVITY_PENALTY_QUOTIENT_ALTAIR;
Expand Down

0 comments on commit f631fd9

Please sign in to comment.