validator: clippy nightly fixes (#27518)

This commit is contained in:
apfitzge 2022-09-07 10:45:52 -05:00 committed by GitHub
parent 1df8830790
commit ebf10960b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {