mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -270,7 +270,7 @@ impl Eth1GenesisService {
|
||||
|
||||
// Ignore any block that has already been processed or update the highest processed
|
||||
// block.
|
||||
if highest_processed_block.map_or(false, |highest| highest >= block.number) {
|
||||
if highest_processed_block.is_some_and(|highest| highest >= block.number) {
|
||||
continue;
|
||||
} else {
|
||||
self.stats
|
||||
|
||||
Reference in New Issue
Block a user