Skip to content

Commit

Permalink
Update consensus/state_processing/src/per_block_processing/altair/syn…
Browse files Browse the repository at this point in the history
…c_committee.rs

Co-authored-by: Michael Sproul <micsproul@gmail.com>
  • Loading branch information
dapplion and michaelsproul authored Feb 19, 2024
1 parent 7c984f9 commit 51e8a2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub fn process_sync_aggregate<T: EthSpec>(
.zip(aggregate.sync_committee_bits.iter())
{
if participation_bit {
// Accumulate proposer rewards on tmp var in case a proposer has very low balance, is
// Accumulate proposer rewards in a temp var in case the proposer has very low balance, is
// part of the sync committee, does not participate and its penalties saturate.
if participant_index == proposer_index {
proposer_balance.safe_add_assign(participant_reward)?;
Expand Down

0 comments on commit 51e8a2a

Please sign in to comment.