minor fix

This commit is contained in:
Danny Ryan 2018-12-13 12:18:29 -06:00
parent 697d3c5eb5
commit cd9e7ecaeb
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -1058,7 +1058,7 @@ def is_surround_vote(attestation_data_1: AttestationData,
attestation_data_2: AttestationData) -> bool attestation_data_2: AttestationData) -> bool
""" """
Assumes ``attestation_data_1`` is distinct from ``attestation_data_2``. Assumes ``attestation_data_1`` is distinct from ``attestation_data_2``.
Returns True if the provided ``AttestationData`` is slashable Returns True if the provided ``AttestationData`` are slashable
due to a 'surround vote'. due to a 'surround vote'.
Note: parameter order matters as this function only checks Note: parameter order matters as this function only checks
that ``attestation_data_1`` surrounds ``attestation_data_2``. that ``attestation_data_1`` surrounds ``attestation_data_2``.