diff --git a/ledger/src/blockstore_processor.rs b/ledger/src/blockstore_processor.rs index b134faa12a..240ddd0666 100644 --- a/ledger/src/blockstore_processor.rs +++ b/ledger/src/blockstore_processor.rs @@ -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, diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 58e733223e..661ac61c09 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -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, frozen_account_pubkeys: &[Pubkey],