validator: remove `--no-duplicate-instance-check` (#29785)
This commit is contained in:
parent
0a0c532c86
commit
9a5aca36e6
|
@ -1282,13 +1282,6 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
|
|||
it becomes a candidate for shrinking. The value must between 0. and 1.0 \
|
||||
inclusive."),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("no_duplicate_instance_check")
|
||||
.long("no-duplicate-instance-check")
|
||||
.takes_value(false)
|
||||
.help("Disables duplicate instance check")
|
||||
.hidden(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("allow_private_addr")
|
||||
.long("allow-private-addr")
|
||||
|
|
|
@ -1594,7 +1594,7 @@ pub fn main() {
|
|||
|
||||
let identity_keypair = Arc::new(identity_keypair);
|
||||
|
||||
let should_check_duplicate_instance = !matches.is_present("no_duplicate_instance_check");
|
||||
let should_check_duplicate_instance = true;
|
||||
if !cluster_entrypoints.is_empty() {
|
||||
bootstrap::rpc_bootstrap(
|
||||
&node,
|
||||
|
|
Loading…
Reference in New Issue