does_pruning -> is_pruned
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user