Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Sproul <[email protected]>
  • Loading branch information
pawanjay176 and michaelsproul committed Sep 15, 2022
1 parent 6d78717 commit 2ec665f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion validator_client/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.takes_value(true),
)
.arg(
Arg::with_name("disable-publish-subsriptions-all")
Arg::with_name("disable-publish-subscriptions-all")
.long("disable-publish-subsriptions-all")
.value_name("DISABLE_PUBLISH_ALL")
.help("By default, Lighthouse publishes attestation and sync committee subscriptions \
Expand Down
2 changes: 1 addition & 1 deletion validator_client/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl Config {

config.allow_unsynced_beacon_node = cli_args.is_present("allow-unsynced");
config.disable_publish_subscriptions_all =
cli_args.is_present("disable-publish-subsriptions-all");
cli_args.is_present("disable-publish-subscriptions-all");
config.disable_auto_discover = cli_args.is_present("disable-auto-discover");
config.init_slashing_protection = cli_args.is_present("init-slashing-protection");
config.use_long_timeouts = cli_args.is_present("use-long-timeouts");
Expand Down

0 comments on commit 2ec665f

Please sign in to comment.