mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
fix call to union
This commit is contained in:
parent
b5f0509595
commit
b36e70040b
@ -2010,7 +2010,7 @@ def get_previous_total_balance(state: BeaconState) -> Gwei:
|
||||
def get_attesting_indices(state: BeaconState, attestations: List[PendingAttestation]) -> List[ValidatorIndex]:
|
||||
output = set()
|
||||
for a in attestations:
|
||||
output = output.union([get_attestation_participants(state, a.data, a.aggregation_bitfield)])
|
||||
output = output.union(get_attestation_participants(state, a.data, a.aggregation_bitfield))
|
||||
return sorted(list(output))
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user