rework bank::new_with_paths (#19087)

* rework bank::new_with_paths

* missing 1 bench
This commit is contained in:
Jeff Washington (jwash)
2021-08-06 09:30:40 -05:00
committed by GitHub
parent 8878f526ce
commit ca37873e16
4 changed files with 58 additions and 10 deletions

View File

@ -110,7 +110,7 @@ mod tests {
let snapshot_archives_dir = TempDir::new().unwrap();
let mut genesis_config_info = create_genesis_config(10_000);
genesis_config_info.genesis_config.cluster_type = cluster_type;
let bank0 = Bank::new_with_paths(
let bank0 = Bank::new_with_paths_for_tests(
&genesis_config_info.genesis_config,
vec![accounts_dir.path().to_path_buf()],
&[],