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

Commit a8962e3

Browse files
committed
cleanup
1 parent 2dd2497 commit a8962e3

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

util/journaldb/src/archivedb.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ impl ArchiveDB {
6262
fn payload(&self, key: &H256) -> Option<DBValue> {
6363
self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?")
6464
}
65-
// fn payload(&self, key: &H256) -> Option<&DBValue> {
66-
// self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?").map(|v| &v)
67-
// }
6865
}
6966

7067
impl HashDB<KeccakHasher, DBValue> for ArchiveDB {

util/journaldb/src/earlymergedb.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,6 @@ impl EarlyMergeDB {
260260
fn payload(&self, key: &H256) -> Option<DBValue> {
261261
self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?")
262262
}
263-
// fn payload(&self, key: &H256) -> Option<&DBValue> {
264-
// self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?").map(|v| &v)
265-
// }
266263

267264
fn read_refs(db: &KeyValueDB, col: Option<u32>) -> (Option<u64>, HashMap<H256, RefInfo>) {
268265
let mut refs = HashMap::new();

util/journaldb/src/overlayrecentdb.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ impl OverlayRecentDB {
178178
fn payload(&self, key: &H256) -> Option<DBValue> {
179179
self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?")
180180
}
181-
// fn payload(&self, key: &H256) -> Option<&DBValue> {
182-
// self.backing.get(self.column, key).expect("Low-level database error. Some issue with your hard disk?").map(|v| &v)
183-
// }
184181

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

0 commit comments

Comments
 (0)