From 4212d8fc7ddf4717593b8f7b573d267148247ecd Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 25 Sep 2018 09:31:59 +1000 Subject: [PATCH] Fix bug introduced in previous commit --- lighthouse/state/validation/attestation/signatures.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lighthouse/state/validation/attestation/signatures.rs b/lighthouse/state/validation/attestation/signatures.rs index 853456401..165b03fe7 100644 --- a/lighthouse/state/validation/attestation/signatures.rs +++ b/lighthouse/state/validation/attestation/signatures.rs @@ -43,7 +43,7 @@ pub fn verify_aggregate_signature_for_indices( /* * De-reference the attestation index into a canonical ValidatorRecord index. */ - let validator = attestation_indices.get(i) + let validator = *attestation_indices.get(i) .ok_or(SignatureVerificationError::BadValidatorIndex)?; /* * Load the validators public key from our store.