Skip to content

Commit

Permalink
Fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhu70 committed Apr 17, 2023
1 parent 877553a commit 7b43617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5128,6 +5128,8 @@ mod tests {
num_total: usize,
num_posts: usize,
) -> Bank {
let mut bank = Arc::new(Bank::new_for_tests(genesis_config));

let collecter_id = Pubkey::new_unique();
let snapshot_version = SnapshotVersion::default();

Expand Down Expand Up @@ -5177,8 +5179,6 @@ mod tests {
let bank_snapshots_dir = tempfile::TempDir::new().unwrap();
let _bank = create_snapshot_dirs_for_tests(&genesis_config, &bank_snapshots_dir, 4, 0);

=======
>>>>>>> f9b76e846c (Let bank_snapshots_dir be TempDir)
let snapshot = get_highest_bank_snapshot(&bank_snapshots_dir).unwrap();
assert_eq!(snapshot.slot, 4);

Expand Down

0 comments on commit 7b43617

Please sign in to comment.