Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
ce18bde5c9
commit
80e2553afd
|
@ -1220,7 +1220,7 @@ def verify_bitfield(bitfield: bytes, committee_size: int) -> bool:
|
||||||
```python
|
```python
|
||||||
def convert_to_standalone(state: BeaconState, attestation: Attestation):
|
def convert_to_standalone(state: BeaconState, attestation: Attestation):
|
||||||
"""
|
"""
|
||||||
Converts an attestation to (almost) standalone-verifiable form
|
Convert an attestation to (almost) standalone-verifiable form
|
||||||
"""
|
"""
|
||||||
return StandaloneAttestation(
|
return StandaloneAttestation(
|
||||||
validator_indices=get_attestation_participants(state, attestation.data, attestation.aggregation_bitfield),
|
validator_indices=get_attestation_participants(state, attestation.data, attestation.aggregation_bitfield),
|
||||||
|
|
Loading…
Reference in New Issue