mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-10 15:58:27 -05:00
refactor(config): delegate PruneConfig::has_receipts_pruning (#20809)
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user