mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
take config value
This commit is contained in:
@@ -195,6 +195,12 @@ pub fn get_config<E: EthSpec>(
|
||||
client_config.chain.disable_attesting = true;
|
||||
}
|
||||
|
||||
if let Some(sync_tolerance_epochs) =
|
||||
clap_utils::parse_optional(cli_args, "sync-tolerance-epochs")?
|
||||
{
|
||||
client_config.chain.sync_tolerance_epochs = sync_tolerance_epochs;
|
||||
}
|
||||
|
||||
if let Some(cache_size) = clap_utils::parse_optional(cli_args, "shuffling-cache-size")? {
|
||||
client_config.chain.shuffling_cache_size = cache_size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user