minor comment change

This commit is contained in:
Danny Ryan 2022-03-03 13:50:05 -07:00 committed by GitHub
parent 37b8a89bb1
commit 15a90407ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -470,8 +470,8 @@ def on_attestation(store: Store, attestation: Attestation, is_from_block: bool=F
```python ```python
def on_attester_slashing(store: Store, attester_slashing: AttesterSlashing) -> None: def on_attester_slashing(store: Store, attester_slashing: AttesterSlashing) -> None:
""" """
Run ``on_attester_slashing`` upon receiving a new ``AttesterSlashing`` from either within a block or directly Run ``on_attester_slashing`` immediately upon receiving a new ``AttesterSlashing``
on the wire. from either within a block or directly on the wire.
""" """
attestation_1 = attester_slashing.attestation_1 attestation_1 = attester_slashing.attestation_1
attestation_2 = attester_slashing.attestation_2 attestation_2 = attester_slashing.attestation_2