mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
fixup! Plug in pruning of blobs into app
This commit is contained in:
@@ -212,6 +212,10 @@ impl<E: EthSpec> HotColdDB<E, LevelDB<E>, LevelDB<E>> {
|
||||
);
|
||||
}
|
||||
|
||||
if db.spec.eip4844_fork_epoch.is_some() {
|
||||
*db.blob_info.write() = db.load_blob_info()?;
|
||||
}
|
||||
|
||||
// Ensure that the schema version of the on-disk database matches the software.
|
||||
// If the version is mismatched, an automatic migration will be attempted.
|
||||
let db = Arc::new(db);
|
||||
|
||||
Reference in New Issue
Block a user