cluster_slot_state_verifier: clippy nightly fixes (#27521)
clippy nightly fixes
This commit is contained in:
parent
1465ec947d
commit
c04747dd66
|
@ -299,7 +299,7 @@ pub enum ResultingStateChange {
|
||||||
impl SlotStateUpdate {
|
impl SlotStateUpdate {
|
||||||
fn into_state_changes(self, slot: Slot) -> Vec<ResultingStateChange> {
|
fn into_state_changes(self, slot: Slot) -> Vec<ResultingStateChange> {
|
||||||
let bank_frozen_hash = self.bank_hash();
|
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
|
// If the bank hasn't been frozen yet, then there's nothing to do
|
||||||
// since replay of the slot hasn't finished yet.
|
// since replay of the slot hasn't finished yet.
|
||||||
return vec![];
|
return vec![];
|
||||||
|
|
Loading…
Reference in New Issue