Skip to content

Commit

Permalink
Merge 7392437 into e5af6a4
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths authored Sep 1, 2021
2 parents e5af6a4 + 7392437 commit e889306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export function afterProcessEpoch(state: CachedBeaconState<allForks.BeaconState>
const totalActiveBalanceByIncrement = epochProcess.nextEpochTotalActiveBalanceByIncrement;
const totalActiveBalance = BigInt(totalActiveBalanceByIncrement) * BigInt(EFFECTIVE_BALANCE_INCREMENT);
epochCtx.syncParticipantReward = computeSyncParticipantReward(epochCtx.config, totalActiveBalance);
epochCtx.syncProposerReward = Number(
epochCtx.syncProposerReward = Math.floor(
(epochCtx.syncParticipantReward * PROPOSER_WEIGHT) / (WEIGHT_DENOMINATOR - PROPOSER_WEIGHT)
);

Expand Down

0 comments on commit e889306

Please sign in to comment.