From 34a4396fa703dc12ad0f708f374f05cb46e962f2 Mon Sep 17 00:00:00 2001 From: Dean Eigenmann Date: Tue, 22 Jan 2019 23:10:12 +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 296426175..0facc0a85 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(crosslink_committee[0]) + 7) // 8 + assert len(aggregation_bitfield) == (len(crosslink_committee) + 7) // 8 # Find the participating attesters in the committee participants = []