Rename voted_hashmap to voted_hashset

This commit is contained in:
Paul Hauner
2018-10-09 11:08:09 +11:00
parent a998ac2a12
commit 9a59908506

View File

@@ -164,7 +164,7 @@ impl<T> AttestationValidationContext<T>
a.justified_slot)
};
let voted_hashmap =
let voted_hashset =
verify_aggregate_signature_for_indices(
&signed_message,
&a.aggregate_sig,
@@ -175,7 +175,7 @@ impl<T> AttestationValidationContext<T>
/*
* If the hashmap of voters is None, the signature verification failed.
*/
match voted_hashmap {
match voted_hashset {
None => Err(AttestationValidationError::BadAggregateSignature),
Some(hashmap) => Ok(hashmap),
}