From b36e70040bef5b966f60b06d275e83014f046d63 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Tue, 5 Mar 2019 16:18:41 -0700 Subject: [PATCH] fix call to union --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 6cd56231d..b94a74e84 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -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)) ```