This commit is contained in:
Hsiao-Wei Wang 2019-04-07 01:59:10 +11:00
parent 8958cf86bb
commit ebba3f5891
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 1 additions and 1 deletions

View File

@ -1721,7 +1721,7 @@ def get_unslashed_attesting_indices(state: BeaconState, attestations: List[Pendi
output = set()
for a in attestations:
output = output.union(get_attestation_participants(state, a.data, a.aggregation_bitfield))
return sorted(filter(lambda index: not state.validator_registry[index].is_slashed, list(output)))
return sorted(filter(lambda index: not state.validator_registry[index].slashed, list(output)))
```
```python