[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user