fixed blooms dir creation (#8941)
This commit is contained in:
committed by
Marek Kotewicz
parent
31b4437b93
commit
6be5744be4
@@ -105,8 +105,8 @@ pub fn open_database(client_path: &str, config: &DatabaseConfig) -> Result<Arc<B
|
||||
|
||||
let blooms_path = path.join("blooms");
|
||||
let trace_blooms_path = path.join("trace_blooms");
|
||||
fs::create_dir(&blooms_path)?;
|
||||
fs::create_dir(&trace_blooms_path)?;
|
||||
fs::create_dir_all(&blooms_path)?;
|
||||
fs::create_dir_all(&trace_blooms_path)?;
|
||||
|
||||
let db = AppDB {
|
||||
key_value: Arc::new(Database::open(&config, client_path)?),
|
||||
|
||||
Reference in New Issue
Block a user