Uses get_bank_snapshot_dir() in `core/tests/snapshot.rs` (#31434)

This commit is contained in:
Brooks 2023-05-01 18:57:59 -04:00 committed by GitHub
parent fdf7bdae1a
commit 90e1b00fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ fn test_concurrent_snapshot_packaging(
// files were saved off before we reserialized the bank in the hacked up accounts_hash_verifier stand-in.
solana_runtime::serde_snapshot::reserialize_bank_with_new_accounts_hash(
saved_snapshots_dir.path().join(saved_slot.to_string()),
snapshot_utils::get_bank_snapshot_dir(&saved_snapshots_dir, saved_slot),
saved_slot,
&AccountsHash(Hash::default()),
None,