Update 0_beacon-chain.md
This commit is contained in:
parent
071537469e
commit
34a4396fa7
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue