make it pass the linter

This commit is contained in:
Potuz 2021-05-31 10:38:51 -03:00 committed by Hsiao-Wei Wang
parent b8d426b028
commit c115fa9a86
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ def test_invalid_signature_extra_participant(spec, state):
def compute_sync_committee_inclusion_reward(spec, state):
total_active_increments = spec.get_total_active_balance(state) // spec.EFFECTIVE_BALANCE_INCREMENT
total_base_rewards = spec.Gwei(spec.get_base_reward_per_increment(state) * total_active_increments)
max_participant_rewards = spec.Gwei(total_base_rewards * spec.SYNC_REWARD_WEIGHT // \
max_participant_rewards = spec.Gwei(total_base_rewards * spec.SYNC_REWARD_WEIGHT //
spec.WEIGHT_DENOMINATOR // spec.SLOTS_PER_EPOCH)
return spec.Gwei(max_participant_rewards // spec.SYNC_COMMITTEE_SIZE)