Rename open_with_access_type() to open_with_options() (#22123)
This commit is contained in:
committed by
GitHub
parent
b11d3b5abf
commit
5771c36d3f
@ -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,
|
||||
|
Reference in New Issue
Block a user