validator: clippy nightly fixes (#27518)
This commit is contained in:
parent
1df8830790
commit
ebf10960b5
|
@ -315,7 +315,7 @@ fn wait_for_restart_window(
|
||||||
.incremental
|
.incremental
|
||||||
.unwrap_or(snapshot_slot_info.full)
|
.unwrap_or(snapshot_slot_info.full)
|
||||||
});
|
});
|
||||||
if restart_snapshot == None {
|
if restart_snapshot.is_none() {
|
||||||
restart_snapshot = snapshot_slot;
|
restart_snapshot = snapshot_slot;
|
||||||
}
|
}
|
||||||
if restart_snapshot == snapshot_slot && !monitoring_another_validator {
|
if restart_snapshot == snapshot_slot && !monitoring_another_validator {
|
||||||
|
|
Loading…
Reference in New Issue