validator: remove `--no-duplicate-instance-check` (#29785)

This commit is contained in:
Trent Nelson 2023-01-19 14:51:40 -07:00 committed by GitHub
parent 0a0c532c86
commit 9a5aca36e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -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 \ it becomes a candidate for shrinking. The value must between 0. and 1.0 \
inclusive."), 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(
Arg::with_name("allow_private_addr") Arg::with_name("allow_private_addr")
.long("allow-private-addr") .long("allow-private-addr")

View File

@ -1594,7 +1594,7 @@ pub fn main() {
let identity_keypair = Arc::new(identity_keypair); 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() { if !cluster_entrypoints.is_empty() {
bootstrap::rpc_bootstrap( bootstrap::rpc_bootstrap(
&node, &node,