refactor(config): delegate PruneConfig::has_receipts_pruning (#20809)

This commit is contained in:
kurahin
2026-01-09 16:44:43 +02:00
committed by GitHub
parent a2aa1f18df
commit c0628dfbff

View File

@@ -544,7 +544,7 @@ impl PruneConfig {
/// Returns whether there is any kind of receipt pruning configuration.
pub fn has_receipts_pruning(&self) -> bool {
self.segments.receipts.is_some() || !self.segments.receipts_log_filter.is_empty()
self.segments.has_receipts_pruning()
}
/// Merges values from `other` into `self`.