mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 14:24:57 -05:00
fix call to union
This commit is contained in:
@@ -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))
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user