[1.1.0] LMDB Naming consistency fix (#2656)
* allow separate db name in store creation * rustfmt * fixes to db paths to ensure consistency with 1.0.x
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ pub struct ChainStore {
|
||||
impl ChainStore {
|
||||
/// Create new chain store
|
||||
pub fn new(db_root: &str) -> Result<ChainStore, Error> {
|
||||
let db = store::Store::new(db_root, Some(STORE_SUBPATH.clone()), None)?;
|
||||
let db = store::Store::new(db_root, None, Some(STORE_SUBPATH.clone()), None)?;
|
||||
Ok(ChainStore { db })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user