mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Rename voted_hashmap to voted_hashset
This commit is contained in:
@@ -164,7 +164,7 @@ impl<T> AttestationValidationContext<T>
|
|||||||
a.justified_slot)
|
a.justified_slot)
|
||||||
};
|
};
|
||||||
|
|
||||||
let voted_hashmap =
|
let voted_hashset =
|
||||||
verify_aggregate_signature_for_indices(
|
verify_aggregate_signature_for_indices(
|
||||||
&signed_message,
|
&signed_message,
|
||||||
&a.aggregate_sig,
|
&a.aggregate_sig,
|
||||||
@@ -175,7 +175,7 @@ impl<T> AttestationValidationContext<T>
|
|||||||
/*
|
/*
|
||||||
* If the hashmap of voters is None, the signature verification failed.
|
* If the hashmap of voters is None, the signature verification failed.
|
||||||
*/
|
*/
|
||||||
match voted_hashmap {
|
match voted_hashset {
|
||||||
None => Err(AttestationValidationError::BadAggregateSignature),
|
None => Err(AttestationValidationError::BadAggregateSignature),
|
||||||
Some(hashmap) => Ok(hashmap),
|
Some(hashmap) => Ok(hashmap),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user