From ebf10960b505fc10c0e25735a36607c3064f23df Mon Sep 17 00:00:00 2001 From: apfitzge Date: Wed, 7 Sep 2022 10:45:52 -0500 Subject: [PATCH] validator: clippy nightly fixes (#27518) --- validator/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {