diff --git a/beacon_node/src/lib.rs b/beacon_node/src/lib.rs index fdf8855a4a..fe8cca18af 100644 --- a/beacon_node/src/lib.rs +++ b/beacon_node/src/lib.rs @@ -52,9 +52,9 @@ impl ProductionBeaconNode { /// Identical to `start_from_client_config`, however the `client_config` is generated from the /// given `matches` and potentially configuration files on the local filesystem or other /// configurations hosted remotely. - pub async fn new_from_cli<'a, 'b>( + pub async fn new_from_cli( context: RuntimeContext, - matches: &ArgMatches<'b>, + matches: &ArgMatches<'_>, ) -> Result { let client_config = get_config::( &matches,