diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 89e7584b6..a4bb8908e 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1807,7 +1807,7 @@ def process_attestation(state: BeaconState, attestation: Attestation) -> None: # Verify aggregate signature participants = get_attestation_participants(state, attestation.data, attestation.aggregation_bitfield) custody_bit_1_participants = get_attestation_participants(state, attestation.data, attestation.custody_bitfield) - custody_bit_0_participants = [i in participants for i not in custody_bit_1_participants] + custody_bit_0_participants = [i for i in participants if i not in custody_bit_1_participants] assert bls_verify_multiple( pubkeys=[