diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index ea18af2663c6bb..2ed15f97ef96e7 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -2906,11 +2906,9 @@ pub fn purge_old_bank_snapshots( match type_select { Some(BankSnapshotType::Pre) => { select_pre = true; - do_purge(get_bank_snapshots_pre(&bank_snapshots_dir)); } Some(BankSnapshotType::Post) => { select_post = true; - do_purge(get_bank_snapshots_post(&bank_snapshots_dir)); } None => { select_pre = true;