fix lihth client refs in val guide

This commit is contained in:
Danny Ryan 2020-06-05 09:35:09 -06:00
parent b1ff00aab0
commit 52de25048a
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 2 additions and 2 deletions

View File

@ -480,7 +480,7 @@ First, `light_aggregate_and_proof = get_light_aggregate_and_proof(state, validat
```python ```python
def get_light_aggregate_and_proof(state: BeaconState, def get_light_aggregate_and_proof(state: BeaconState,
aggregator_index: ValidatorIndex, aggregator_index: ValidatorIndex,
aggregate: Attestation, aggregate: LightClientVote,
privkey: int) -> LightAggregateAndProof: privkey: int) -> LightAggregateAndProof:
return LightAggregateAndProof( return LightAggregateAndProof(
aggregator_index=aggregator_index, aggregator_index=aggregator_index,
@ -506,7 +506,7 @@ def get_light_aggregate_and_proof_signature(state: BeaconState,
```python ```python
class LightAggregateAndProof(Container): class LightAggregateAndProof(Container):
aggregator_index: ValidatorIndex aggregator_index: ValidatorIndex
aggregate: Attestation aggregate: LightClientVote
selection_proof: BLSSignature selection_proof: BLSSignature
``` ```