replay_stage: clippy nightly fixes (#27520)

clippy nightly fixes
This commit is contained in:
apfitzge 2022-09-07 15:04:46 -05:00 committed by GitHub
parent 452866dbcf
commit 1465ec947d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3102,7 +3102,7 @@ impl ReplayStage {
loop {
// These cases mean confirmation of propagation on any earlier
// leader blocks must have been reached
if current_leader_slot == None || current_leader_slot.unwrap() < root {
if current_leader_slot.is_none() || current_leader_slot.unwrap() < root {
break;
}