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

@ -406,7 +406,7 @@ pub fn process_blockstore(
}
// Setup bank for slot 0
let bank0 = Bank::new_with_paths(
let bank0 = Bank::new_with_paths_production(
genesis_config,
account_paths,
&opts.frozen_accounts,
@ -3126,7 +3126,7 @@ pub mod tests {
genesis_config: &GenesisConfig,
account_paths: Vec<PathBuf>,
) -> EpochSchedule {
let bank = Bank::new_with_paths(
let bank = Bank::new_with_paths_for_tests(
genesis_config,
account_paths,
&[],