From b8689e17274ed4571f82de98d8f73b7d3def04b5 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Mon, 26 Nov 2018 18:35:32 -0500 Subject: [PATCH] Update specs/core/0_beacon-chain.md Co-Authored-By: vbuterin --- 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 ad821605b..50d69cf36 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -567,7 +567,7 @@ def get_attestation_participants(state: State, snc = [x for x in sncs_for_slot if x.shard == attestation_data.shard][0] assert len(attester_bitfield) == ceil_div8(len(snc.committee)) participants = [] - for i, vindex in snc.committee: + for i, vindex in enumerate(snc.committee): bit = (attester_bitfield[i//8] >> (7 - (i % 8))) % 2 if bit == 1: participants.append(vindex)