From 28216cbcda9062ee7dcc1a263de7db31780e2626 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Wed, 31 Mar 2021 13:22:45 -0600 Subject: [PATCH] fix lint Co-authored-by: Alex Stokes --- 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 207c100d5..5b51be17a 100644 --- a/specs/altair/beacon-chain.md +++ b/specs/altair/beacon-chain.md @@ -545,7 +545,7 @@ def process_sync_committee(state: BeaconState, aggregate: SyncAggregate) -> None max_slot_rewards = Gwei(max_epoch_rewards * len(included_indices) // len(committee_indices) // SLOTS_PER_EPOCH) # Compute the participant and proposer sync rewards - committee_effective_balance = get_total_balance(state, included_indices) + committee_effective_balance = get_total_balance(state, set(included_indices)) for included_index in included_indices: effective_balance = state.validators[included_index].effective_balance inclusion_reward = Gwei(max_slot_rewards * effective_balance // committee_effective_balance)