mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -38,7 +38,7 @@ pub fn process_sync_aggregate<E: EthSpec>(
|
||||
)?;
|
||||
|
||||
// If signature set is `None` then the signature is valid (infinity).
|
||||
if signature_set.map_or(false, |signature| !signature.verify()) {
|
||||
if signature_set.is_some_and(|signature| !signature.verify()) {
|
||||
return Err(SyncAggregateInvalid::SignatureInvalid.into());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user