mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Activate clippy::manual_let_else lint (#4889)
## Issue Addressed #4888 ## Proposed Changes Enabled `clippy::manual_let_else` lint and resolved the warning messages.
This commit is contained in:
@@ -99,9 +99,8 @@ pub fn verify_signature_sets<'a>(
|
||||
|
||||
// Aggregate all the public keys.
|
||||
// Public keys have already been checked for subgroup and infinity
|
||||
let agg_pk = match blst_core::AggregatePublicKey::aggregate(&signing_keys, false) {
|
||||
Ok(agg_pk) => agg_pk,
|
||||
Err(_) => return false,
|
||||
let Ok(agg_pk) = blst_core::AggregatePublicKey::aggregate(&signing_keys, false) else {
|
||||
return false;
|
||||
};
|
||||
pks.push(agg_pk.to_public_key());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user