Skip to content

Commit

Permalink
remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Apr 3, 2024
1 parent 7b50109 commit fb3b8dd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions beacon_node/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -971,10 +971,8 @@ pub fn parse_listening_addresses(
}
(None, Some(ipv6)) => {
// A single ipv6 address was provided. Set the ports

if parse_flag(cli_args, "port6") {
warn!(log, "When listening only over IPv6, use the --port flag. The value of --port6 will be ignored.")
}
warn!(log, "When listening only over IPv6, use the --port flag. The value of --port6 will be ignored.");

// use zero ports if required. If not, use the given port.
let tcp_port = use_zero_ports
.then(unused_port::unused_tcp6_port)
Expand Down

0 comments on commit fb3b8dd

Please sign in to comment.