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
|
// Setup bank for slot 0
|
||||||
let bank0 = Bank::new_with_paths_production(
|
let bank0 = Bank::new_with_paths(
|
||||||
genesis_config,
|
genesis_config,
|
||||||
account_paths,
|
account_paths,
|
||||||
&opts.frozen_accounts,
|
&opts.frozen_accounts,
|
||||||
|
@ -1178,7 +1178,7 @@ impl Bank {
|
|||||||
shrink_ratio: AccountShrinkThreshold,
|
shrink_ratio: AccountShrinkThreshold,
|
||||||
debug_do_not_add_builtins: bool,
|
debug_do_not_add_builtins: bool,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self::new_with_paths_production(
|
Self::new_with_paths(
|
||||||
genesis_config,
|
genesis_config,
|
||||||
paths,
|
paths,
|
||||||
frozen_account_pubkeys,
|
frozen_account_pubkeys,
|
||||||
@ -1202,7 +1202,7 @@ impl Bank {
|
|||||||
shrink_ratio: AccountShrinkThreshold,
|
shrink_ratio: AccountShrinkThreshold,
|
||||||
debug_do_not_add_builtins: bool,
|
debug_do_not_add_builtins: bool,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self::new_with_paths_production(
|
Self::new_with_paths(
|
||||||
genesis_config,
|
genesis_config,
|
||||||
paths,
|
paths,
|
||||||
frozen_account_pubkeys,
|
frozen_account_pubkeys,
|
||||||
@ -1215,7 +1215,7 @@ impl Bank {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn new_with_paths_production(
|
pub fn new_with_paths(
|
||||||
genesis_config: &GenesisConfig,
|
genesis_config: &GenesisConfig,
|
||||||
paths: Vec<PathBuf>,
|
paths: Vec<PathBuf>,
|
||||||
frozen_account_pubkeys: &[Pubkey],
|
frozen_account_pubkeys: &[Pubkey],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user