mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 13:06:34 +00:00
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…
x
Reference in New Issue
Block a user