Remove rendezvous point default

This also fixes a bug where an empty string wasn't actually allowed
as a rendezvous point in the ASB's initial setup wizard.
This commit is contained in:
Thomas Eizinger 2021-07-09 09:44:37 +10:00
parent 3e3015a478
commit d21bd556ec
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
3 changed files with 12 additions and 19 deletions

View file

@ -1,6 +1,6 @@
use crate::env::GetConfig;
use crate::fs::system_data_dir;
use crate::network::rendezvous::{XmrBtcNamespace, DEFAULT_RENDEZVOUS_ADDRESS};
use crate::network::rendezvous::XmrBtcNamespace;
use crate::{env, monero};
use anyhow::{Context, Result};
use bitcoin::AddressType;
@ -336,8 +336,7 @@ enum RawCommand {
ListSellers {
#[structopt(
long,
help = "Address of the rendezvous point you want to use to discover ASBs",
default_value = DEFAULT_RENDEZVOUS_ADDRESS
help = "Address of the rendezvous point you want to use to discover ASBs"
)]
rendezvous_point: Multiaddr,