does_pruning -> is_pruned

This commit is contained in:
Robert Habermeier
2016-06-03 12:10:10 +02:00
parent 1e10445f82
commit 6f850ebdac
3 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ impl JournalDB for ArchiveDB {
self.backing.get_by_prefix(&id.bytes()[0..12]).and_then(|b| Some(b.to_vec()))
}
fn does_pruning(&self) -> bool { false }
fn is_pruned(&self) -> bool { false }
}
#[cfg(test)]

View File

@@ -43,6 +43,6 @@ pub trait JournalDB : HashDB + Send + Sync {
None
}
/// Whether this database does pruning.
fn does_pruning(&self) -> bool { true }
/// Whether this database is pruned.
fn is_pruned(&self) -> bool { true }
}