mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-22 06:14:38 +00:00
Remove Unnecessary Option in Blob Pruning (#4363)
This commit is contained in:
@@ -963,9 +963,11 @@ where
|
||||
}
|
||||
|
||||
// Prune blobs sidecars older than the blob data availability boundary in the background.
|
||||
beacon_chain
|
||||
.store_migrator
|
||||
.process_prune_blobs(beacon_chain.data_availability_boundary());
|
||||
if let Some(data_availability_boundary) = beacon_chain.data_availability_boundary() {
|
||||
beacon_chain
|
||||
.store_migrator
|
||||
.process_prune_blobs(data_availability_boundary);
|
||||
}
|
||||
|
||||
Ok(beacon_chain)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user