Update 0_beacon-chain.md

This commit is contained in:
Dean Eigenmann 2019-01-22 23:10:12 +01:00 committed by GitHub
parent 071537469e
commit 34a4396fa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []