From bea99185ed7f70788c2038f13589202b40e02934 Mon Sep 17 00:00:00 2001 From: Lucas Soriano del Pino Date: Fri, 6 Nov 2020 15:41:55 +1100 Subject: [PATCH] Use correct default values for monerod_url* *`monerod_url` is an incorrect name as it's actually a `monero_wallet_rpc_url`. This is fixed in another branch. --- swap/src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swap/src/cli.rs b/swap/src/cli.rs index 15d1355e..2d13fcb8 100644 --- a/swap/src/cli.rs +++ b/swap/src/cli.rs @@ -9,7 +9,7 @@ pub enum Options { #[structopt(default_value = "http://127.0.0.1:8332", long = "bitcoind")] bitcoind_url: Url, - #[structopt(default_value = "http://127.0.0.1:18083", long = "monerod")] + #[structopt(default_value = "http://127.0.0.1:18083/json_rpc", long = "monerod")] monerod_url: Url, #[structopt(default_value = "/ip4/127.0.0.1/tcp/9876", long = "listen-addr")] @@ -28,7 +28,7 @@ pub enum Options { #[structopt(default_value = "http://127.0.0.1:8332", long = "bitcoind")] bitcoind_url: Url, - #[structopt(default_value = "http://127.0.0.1:18083", long = "monerod")] + #[structopt(default_value = "http://127.0.0.1:18083/json_rpc", long = "monerod")] monerod_url: Url, #[structopt(long = "tor")] @@ -42,7 +42,7 @@ pub enum Options { #[structopt(default_value = "http://127.0.0.1:8332", long = "bitcoind")] bitcoind_url: Url, - #[structopt(default_value = "http://127.0.0.1:18083", long = "monerod")] + #[structopt(default_value = "http://127.0.0.1:18083/json_rpc", long = "monerod")] monerod_url: Url, }, }