mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Remove LC server config from HTTP API (#7017)
Partly addresses - https://github.com/sigp/lighthouse/issues/6959 Use the `enable_light_client_server` field from the beacon chain config in the HTTP API. I think we can make this the single source of truth, as I think the network crate also has access to the beacon chain config.
This commit is contained in:
@@ -174,9 +174,6 @@ pub fn get_config<E: EthSpec>(
|
||||
|
||||
client_config.http_api.duplicate_block_status_code =
|
||||
parse_required(cli_args, "http-duplicate-block-status")?;
|
||||
|
||||
client_config.http_api.enable_light_client_server =
|
||||
!cli_args.get_flag("disable-light-client-server");
|
||||
}
|
||||
|
||||
if cli_args.get_flag("light-client-server") {
|
||||
|
||||
Reference in New Issue
Block a user