typo in comment

This commit is contained in:
Danny Ryan 2019-01-30 11:04:35 -08:00
parent ad5583c79f
commit ed80daa489
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ def verify_slashable_attestation(state: BeaconState, slashable_attestation: Slas
def is_double_vote(attestation_data_1: AttestationData, def is_double_vote(attestation_data_1: AttestationData,
attestation_data_2: AttestationData) -> bool: attestation_data_2: AttestationData) -> bool:
""" """
Check if the ``attestation_data_1`` and ``attestation_data_2`` have the same target. Check if ``attestation_data_1`` and ``attestation_data_2`` have the same target.
""" """
target_epoch_1 = slot_to_epoch(attestation_data_1.slot) target_epoch_1 = slot_to_epoch(attestation_data_1.slot)
target_epoch_2 = slot_to_epoch(attestation_data_2.slot) target_epoch_2 = slot_to_epoch(attestation_data_2.slot)