fixup! Plug in pruning of blobs into app

This commit is contained in:
Emilia Hane
2023-01-08 20:51:40 +01:00
parent b88d888145
commit d21c66ddf4
3 changed files with 15 additions and 8 deletions

View File

@@ -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.data_availability_breakpoint = block_root;
blob_info.data_availability_breakpoint = Some(block_root);
self.store.compare_and_set_blob_info_with_write(
self.store.get_blob_info(),
Some(blob_info),