mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 12:56:12 +00:00
Rust 1.84 lints (#6781)
* Fix few lints * Fix remaining lints * Use fully qualified syntax
This commit is contained in:
@@ -111,7 +111,7 @@ where
|
||||
self.store_cold_state(&state_root, &state, &mut io_batch)?;
|
||||
|
||||
let batch_complete =
|
||||
num_blocks.map_or(false, |n_blocks| slot == lower_limit_slot + n_blocks as u64);
|
||||
num_blocks.is_some_and(|n_blocks| slot == lower_limit_slot + n_blocks as u64);
|
||||
let reconstruction_complete = slot + 1 == upper_limit_slot;
|
||||
|
||||
// Commit the I/O batch if:
|
||||
|
||||
Reference in New Issue
Block a user