rework bank::new_with_paths (#19087)
* rework bank::new_with_paths * missing 1 bench
This commit is contained in:
committed by
GitHub
parent
8878f526ce
commit
ca37873e16
@ -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,
|
||||
&[],
|
||||
|
Reference in New Issue
Block a user