mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
fixup! Prune blobs before data availability breakpoint
This commit is contained in:
@@ -3029,7 +3029,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
blob_info.last_pruned_epoch + *MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS;
|
||||
|
||||
if current_epoch > next_epoch_to_prune {
|
||||
blob_info.availability_breakpoint = block_root;
|
||||
blob_info.data_availability_breakpoint = block_root;
|
||||
self.store.compare_and_set_blob_info_with_write(
|
||||
self.store.get_blob_info(),
|
||||
Some(blob_info),
|
||||
|
||||
Reference in New Issue
Block a user