rename is_pruned to is_prunable (#10888)

This commit is contained in:
Marek Kotewicz
2019-07-16 12:45:24 +02:00
committed by Wei Tang
parent e3665ed9e3
commit 27d1c2d7d1
4 changed files with 29 additions and 23 deletions

View File

@@ -360,8 +360,8 @@ impl StateDB {
}
/// Check if pruning is enabled on the database.
pub fn is_pruned(&self) -> bool {
self.db.is_pruned()
pub fn is_prunable(&self) -> bool {
self.db.is_prunable()
}
/// Heap size used.