flake8 length

This commit is contained in:
Hsiao-Wei Wang 2019-06-11 00:40:07 -04:00
parent 9f454185f8
commit 6f526add79
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 3 additions and 1 deletions

View File

@ -1427,7 +1427,9 @@ def get_attestation_deltas(state: BeaconState) -> Tuple[List[Gwei], List[Gwei]]:
if index in get_attesting_indices(state, a.data, a.aggregation_bitfield)
], key=lambda a: a.inclusion_delay)
rewards[attestation.proposer_index] += Gwei(get_base_reward(state, index) // PROPOSER_REWARD_QUOTIENT)
rewards[index] += Gwei(get_base_reward(state, index) * MIN_ATTESTATION_INCLUSION_DELAY // attestation.inclusion_delay)
rewards[index] += Gwei(
get_base_reward(state, index) * MIN_ATTESTATION_INCLUSION_DELAY // attestation.inclusion_delay
)
# Inactivity penalty
finality_delay = previous_epoch - state.finalized_epoch