mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
av-store: create a db dir if missing (#1819)
This commit is contained in:
@@ -106,6 +106,7 @@ impl AvailabilityStoreSubsystem {
|
||||
format!("Bad database path: {:?}", config.path),
|
||||
))?;
|
||||
|
||||
std::fs::create_dir_all(&path)?;
|
||||
let db = Database::open(&db_config, &path)?;
|
||||
|
||||
Ok(Self {
|
||||
|
||||
Reference in New Issue
Block a user