diff --git a/controller/src/command.rs b/controller/src/command.rs index 82ee94c07..2f53b1dbe 100644 --- a/controller/src/command.rs +++ b/controller/src/command.rs @@ -332,6 +332,10 @@ where Ok(()) })?; + if args.estimate_selection_strategies { + return Ok(()); + } + let tor_config = match tor_config { Some(mut c) => { c.skip_send_attempt = Some(args.skip_tor); diff --git a/src/cmd/wallet_args.rs b/src/cmd/wallet_args.rs index e476cc14e..1db6bedeb 100644 --- a/src/cmd/wallet_args.rs +++ b/src/cmd/wallet_args.rs @@ -483,7 +483,9 @@ pub fn parse_send_args(args: &ArgMatches) -> Result match SlatepackAddress::try_from(dest) { Ok(a) => Some(a), Err(_) => { - println!("No recipient Slatepack address or provided address invalid. No payment proof will be requested."); + if !estimate_selection_strategies { + println!("No recipient Slatepack address or provided address invalid. No payment proof will be requested."); + } None } },