From a4895648575b89fcf177a1f7a988686b6f28a875 Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Tue, 11 May 2021 11:30:48 +1000 Subject: [PATCH] Remove unused Electrum HTTP default URL --- swap/src/cli/command.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/swap/src/cli/command.rs b/swap/src/cli/command.rs index deb19ce5..d2164070 100644 --- a/swap/src/cli/command.rs +++ b/swap/src/cli/command.rs @@ -10,14 +10,11 @@ use uuid::Uuid; // Port is assumed to be stagenet standard port 38081 pub const DEFAULT_STAGENET_MONERO_DAEMON_HOST: &str = "monero-stagenet.exan.tech"; -pub const DEFAULT_ELECTRUM_HTTP_URL: &str = "https://blockstream.info/testnet/api/"; const DEFAULT_ELECTRUM_RPC_URL: &str = "ssl://electrum.blockstream.info:60002"; +const DEFAULT_BITCOIN_CONFIRMATION_TARGET: &str = "3"; const DEFAULT_TOR_SOCKS5_PORT: &str = "9050"; -// Bitcoin transactions should be confirmed within X blocks -const DEFAULT_BITCOIN_CONFIRMATION_TARGET: &str = "3"; - #[derive(structopt::StructOpt, Debug)] #[structopt(name = "swap", about = "CLI for swapping BTC for XMR", author)] pub struct Arguments {