[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:
Yeastplume
2019-03-06 17:34:39 +00:00
committed by GitHub
parent 6fa137a4ff
commit fd077a489d
5 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ impl ChainAdapter {
pub fn update_db_for_block(&self, block: &Block) {
let header = &block.header;
let tip = Tip::from_header(header);
let mut s = self.store.write();
let s = self.store.write();
let batch = s.batch().unwrap();
batch.save_block_header(header).unwrap();