Fix "indicies" type

This commit is contained in:
Paul Hauner 2018-10-12 00:55:29 +11:00
parent 3139d0e5da
commit 68ca51c7ac
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -124,7 +124,7 @@ impl<T> AttestationValidationContext<T>
/* /*
* The bitfield must be no longer than the minimum required to represent each validator in the * The bitfield must be no longer than the minimum required to represent each validator in the
* attestation indicies for this slot and shard id. * attestation indices for this slot and shard id.
*/ */
if a.attester_bitfield.num_bytes() != if a.attester_bitfield.num_bytes() !=
bytes_for_bits(attestation_indices.len()) bytes_for_bits(attestation_indices.len())