Uses get_bank_snapshot_dir() in `core/tests/snapshot.rs` (#31434)
This commit is contained in:
parent
fdf7bdae1a
commit
90e1b00fb5
|
@ -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.
|
// 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(
|
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,
|
saved_slot,
|
||||||
&AccountsHash(Hash::default()),
|
&AccountsHash(Hash::default()),
|
||||||
None,
|
None,
|
||||||
|
|
Loading…
Reference in New Issue