Rename open_with_access_type() to open_with_options() (#22123)

This commit is contained in:
Yueh-Hsuan Chiang
2022-01-07 12:11:43 -08:00
committed by GitHub
parent b11d3b5abf
commit 5771c36d3f
6 changed files with 10 additions and 11 deletions

View File

@ -70,7 +70,7 @@ pub fn remove_tower(tower_path: &Path, node_pubkey: &Pubkey) {
}
pub fn open_blockstore(ledger_path: &Path) -> Blockstore {
Blockstore::open_with_access_type(
Blockstore::open_with_options(
ledger_path,
BlockstoreOptions {
access_type: AccessType::TryPrimaryThenSecondary,