mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31:45 +00:00
fixup! Allow user to set an epoch margin for pruning
This commit is contained in:
@@ -424,9 +424,7 @@ pub fn get_config<E: EthSpec>(
|
||||
if let Some(blob_prune_margin_epochs) =
|
||||
clap_utils::parse_optional(cli_args, "blob-prune-margin-epochs")?
|
||||
{
|
||||
if blob_prune_margin_epochs > 0 {
|
||||
client_config.store.blob_prune_margin_epochs = Some(blob_prune_margin_epochs);
|
||||
}
|
||||
client_config.store.blob_prune_margin_epochs = blob_prune_margin_epochs;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user