From 3cd842a94d6c84ff0823946b8c032d913fe60336 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Thu, 27 May 2021 11:39:29 -0700 Subject: [PATCH] Update specs/altair/beacon-chain.md --- specs/altair/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/altair/beacon-chain.md b/specs/altair/beacon-chain.md index d6a942771..33ef9a12b 100644 --- a/specs/altair/beacon-chain.md +++ b/specs/altair/beacon-chain.md @@ -580,7 +580,7 @@ def process_sync_committee(state: BeaconState, aggregate: SyncAggregate) -> None all_pubkeys = [v.pubkey for v in state.validators] committee_indices = [ValidatorIndex(all_pubkeys.index(pubkey)) for pubkey in state.current_sync_committee.pubkeys] for index, participation_bit in zip(committee_indices, aggregate.sync_committee_bits): - if participant_bit: + if participation_bit: increase_balance(state, participant_index, participant_reward) increase_balance(state, get_beacon_proposer_index(state), proposer_reward) else: