Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdplm committed Sep 27, 2018
1 parent 2dd2497 commit a8962e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions util/journaldb/src/archivedb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ impl ArchiveDB {
fn payload(&self, key: &H256) -> Option<DBValue> {
self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?")
}
// fn payload(&self, key: &H256) -> Option<&DBValue> {
// self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?").map(|v| &v)
// }
}

impl HashDB<KeccakHasher, DBValue> for ArchiveDB {
Expand Down
3 changes: 0 additions & 3 deletions util/journaldb/src/earlymergedb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,6 @@ impl EarlyMergeDB {
fn payload(&self, key: &H256) -> Option<DBValue> {
self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?")
}
// fn payload(&self, key: &H256) -> Option<&DBValue> {
// self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?").map(|v| &v)
// }

fn read_refs(db: &KeyValueDB, col: Option<u32>) -> (Option<u64>, HashMap<H256, RefInfo>) {
let mut refs = HashMap::new();
Expand Down
3 changes: 0 additions & 3 deletions util/journaldb/src/overlayrecentdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ impl OverlayRecentDB {
fn payload(&self, key: &H256) -> Option<DBValue> {
self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?")
}
// fn payload(&self, key: &H256) -> Option<&DBValue> {
// self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?").map(|v| &v)
// }

fn read_overlay(db: &KeyValueDB, col: Option<u32>) -> JournalOverlay {
let mut journal = HashMap::new();
Expand Down

0 comments on commit a8962e3

Please sign in to comment.