mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-24 16:28:24 +00:00
fix lint
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
parent
e8b758f9a6
commit
28216cbcda
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user