mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
Replace hashmap with hashset
This commit is contained in:
@@ -189,11 +189,11 @@ impl<T> AttestationValidationContext<T>
|
||||
&self.validator_store)?;
|
||||
|
||||
/*
|
||||
* If the hashmap of voters is None, the signature verification failed.
|
||||
* If the hashset of voters is None, the signature verification failed.
|
||||
*/
|
||||
match voted_hashset {
|
||||
None => Err(AttestationValidationError::BadAggregateSignature),
|
||||
Some(hashmap) => Ok(hashmap),
|
||||
Some(hashset) => Ok(hashset),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user