mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 15:35:11 -05:00
Update 0_beacon-chain.md
This commit is contained in:
@@ -1162,7 +1162,7 @@ def verify_bitfield(bitfield: bytes, committee_size: int) -> bool:
|
||||
```python
|
||||
def convert_to_indexed(state: BeaconState, attestation: Attestation) -> IndexedAttestation:
|
||||
"""
|
||||
Convert an ``attestation`` to (almost) indexed-verifiable form.
|
||||
Convert ``attestation`` to (almost) indexed-verifiable form.
|
||||
"""
|
||||
attesting_indices = get_attestation_participants(state, attestation.data, attestation.aggregation_bitfield)
|
||||
custody_bit_1_indices = get_attestation_participants(state, attestation.data, attestation.custody_bitfield)
|
||||
|
||||
Reference in New Issue
Block a user