update database name (#7)

This commit is contained in:
Yeastplume 2019-03-07 09:52:53 +00:00 committed by GitHub
parent 226e1585da
commit 6d92a67730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 220 additions and 224 deletions

442
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -111,7 +111,7 @@ impl<C, K> LMDBBackend<C, K> {
fs::create_dir_all(&stored_tx_path)
.expect("Couldn't create wallet backend tx storage directory!");
let store = store::Store::new(db_path.to_str().unwrap(), None, None)?;
let store = store::Store::new(db_path.to_str().unwrap(), None, Some(DB_DIR), None)?;
// Make sure default wallet derivation path always exists
// as well as path (so it can be retrieved by batches to know where to store