From 68bc91bb3a7fab36b11ea8d56f356c8197687449 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Sun, 3 Mar 2019 05:56:57 -0600 Subject: [PATCH] Fixed custody bit participants typo --- 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 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=[