From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:48:04 +0000 (-0700) Subject: Merge pull request #131 from tnull/2024-02-align-rustfmt X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e6dd91ce8714429e3904f4c505b312aae38706c2;p=ldk-sample Merge pull request #131 from tnull/2024-02-align-rustfmt Align `rustfmt.toml` with `rust-lightning` --- e6dd91ce8714429e3904f4c505b312aae38706c2 diff --cc src/cli.rs index 04c5898,ee6a949..fe1b286 --- a/src/cli.rs +++ b/src/cli.rs @@@ -818,10 -818,10 +818,10 @@@ fn send_payment let (payment_hash, recipient_onion, route_params) = match pay_params_opt { Ok(res) => res, Err(e) => { - println!("Failed to parse invoice"); + println!("Failed to parse invoice: {:?}", e); print!("> "); return; - } + }, }; outbound_payments.payments.insert( payment_id,