cluster_slot_state_verifier: clippy nightly fixes (#27521)

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

View File

@ -299,7 +299,7 @@ pub enum ResultingStateChange {
impl SlotStateUpdate {
fn into_state_changes(self, slot: Slot) -> Vec<ResultingStateChange> {
let bank_frozen_hash = self.bank_hash();
if bank_frozen_hash == None {
if bank_frozen_hash.is_none() {
// If the bank hasn't been frozen yet, then there's nothing to do
// since replay of the slot hasn't finished yet.
return vec![];