diff --git a/validator/src/main.rs b/validator/src/main.rs index 1bc2d1291..364cb9538 100644 --- a/validator/src/main.rs +++ b/validator/src/main.rs @@ -315,7 +315,7 @@ fn wait_for_restart_window( .incremental .unwrap_or(snapshot_slot_info.full) }); - if restart_snapshot == None { + if restart_snapshot.is_none() { restart_snapshot = snapshot_slot; } if restart_snapshot == snapshot_slot && !monitoring_another_validator {