restore name: Bank::new_with_paths (#19122)
This commit is contained in:
parent
c56bccdf32
commit
5874f75a26
|
@ -406,7 +406,7 @@ pub fn process_blockstore(
|
|||
}
|
||||
|
||||
// Setup bank for slot 0
|
||||
let bank0 = Bank::new_with_paths_production(
|
||||
let bank0 = Bank::new_with_paths(
|
||||
genesis_config,
|
||||
account_paths,
|
||||
&opts.frozen_accounts,
|
||||
|
|
|
@ -1178,7 +1178,7 @@ impl Bank {
|
|||
shrink_ratio: AccountShrinkThreshold,
|
||||
debug_do_not_add_builtins: bool,
|
||||
) -> Self {
|
||||
Self::new_with_paths_production(
|
||||
Self::new_with_paths(
|
||||
genesis_config,
|
||||
paths,
|
||||
frozen_account_pubkeys,
|
||||
|
@ -1202,7 +1202,7 @@ impl Bank {
|
|||
shrink_ratio: AccountShrinkThreshold,
|
||||
debug_do_not_add_builtins: bool,
|
||||
) -> Self {
|
||||
Self::new_with_paths_production(
|
||||
Self::new_with_paths(
|
||||
genesis_config,
|
||||
paths,
|
||||
frozen_account_pubkeys,
|
||||
|
@ -1215,7 +1215,7 @@ impl Bank {
|
|||
)
|
||||
}
|
||||
|
||||
pub fn new_with_paths_production(
|
||||
pub fn new_with_paths(
|
||||
genesis_config: &GenesisConfig,
|
||||
paths: Vec<PathBuf>,
|
||||
frozen_account_pubkeys: &[Pubkey],
|
||||
|
|
Loading…
Reference in New Issue