From 071537469e1da16f6af0214eebbd910d457a13bd Mon Sep 17 00:00:00 2001 From: Dean Eigenmann Date: Tue, 22 Jan 2019 23:09:28 +0100 Subject: [PATCH] Update 0_beacon-chain.md --- 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 d8fb36f4d..296426175 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1040,7 +1040,7 @@ def get_attestation_participants(state: BeaconState, assert attestation_data.shard in [shard for _, shard in crosslink_committees] crosslink_committee = [committee for committee, shard in crosslink_committees if shard == attestation_data.shard][0] - assert len(aggregation_bitfield) == (len(committee) + 7) // 8 + assert len(aggregation_bitfield) == (len(crosslink_committee[0]) + 7) // 8 # Find the participating attesters in the committee participants = []