Skip to content

Commit

Permalink
format check
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhu70 committed Feb 16, 2023
1 parent d25cd4c commit 49620ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1868,9 +1868,8 @@ pub fn get_highest_incremental_snapshot_archive_slot(
pub fn get_highest_full_snapshot(snapshots_dir: impl AsRef<Path>) -> Result<BankSnapshotInfo> {
let bank_snapshots = get_bank_snapshots(&snapshots_dir);

do_get_highest_bank_snapshot(bank_snapshots).ok_or_else(|| SnapshotError::NoSnapshotSlotDir(
snapshots_dir.as_ref().to_path_buf(),
))
do_get_highest_bank_snapshot(bank_snapshots)
.ok_or_else(|| SnapshotError::NoSnapshotSlotDir(snapshots_dir.as_ref().to_path_buf()))
}

pub fn get_highest_incremental_snapshot(
Expand Down

0 comments on commit 49620ee

Please sign in to comment.