Fix bug introduced in previous commit

This commit is contained in:
Paul Hauner 2018-09-25 09:31:59 +10:00
parent bb81bacb4e
commit 4212d8fc7d
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -43,7 +43,7 @@ pub fn verify_aggregate_signature_for_indices<T>(
/*
* 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.