mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
fixup! Allow user to set an epoch margin for pruning
This commit is contained in:
@@ -130,9 +130,7 @@ fn parse_client_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;
|
||||
}
|
||||
|
||||
Ok(client_config)
|
||||
|
||||
Reference in New Issue
Block a user