Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Hsiao-Wei Wang 2019-03-22 09:32:21 -04:00 committed by GitHub
parent ce18bde5c9
commit 80e2553afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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),