mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Refactor to use Config struct
This commit is contained in:
@@ -30,7 +30,9 @@ pub fn run<'a, T: EthSpec>(
|
||||
.block_on_dangerous(
|
||||
async {
|
||||
match matches.subcommand() {
|
||||
(validators::CMD, Some(matches)) => validators::cli_run(matches, &spec).await,
|
||||
(validators::CMD, Some(matches)) => {
|
||||
validators::cli_run::<T>(matches, &spec).await
|
||||
}
|
||||
(unknown, _) => Err(format!(
|
||||
"{} is not a valid {} command. See --help.",
|
||||
unknown, CMD
|
||||
|
||||
Reference in New Issue
Block a user