mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 21:35:18 -05:00
Update 0_beacon-chain.md
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user