Skip to content

Commit

Permalink
fmt got me again
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Apr 4, 2024
1 parent 4555fb2 commit 35bdf5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions beacon_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use beacon_chain::chain_config::{
DEFAULT_RE_ORG_PARENT_THRESHOLD,
};
use beacon_chain::TrustedSetup;
use clap::{ArgMatches, Id, parser::ValueSource};
use clap::{parser::ValueSource, ArgMatches, Id};
use clap_utils::flags::DISABLE_MALLOC_TUNING_FLAG;
use clap_utils::{parse_flag, parse_required};
use client::{ClientConfig, ClientGenesis};
Expand Down Expand Up @@ -980,7 +980,6 @@ pub fn parse_listening_addresses(
return Err("No listening addresses provided".into());
}
(None, Some(ipv6)) => {

// A single ipv6 address was provided. Set the ports
if cli_args.value_source("port6") == Some(ValueSource::CommandLine) {
warn!(log, "When listening only over IPv6, use the --port flag. The value of --port6 will be ignored.");
Expand Down

0 comments on commit 35bdf5e

Please sign in to comment.