From: Matt Corallo Date: Wed, 5 May 2021 00:00:04 +0000 (+0000) Subject: Update payment error messages to better match reality X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=8c621ea7609c9cc785b93862e4afed93b43218b5;p=ldk-sample Update payment error messages to better match reality --- diff --git a/src/main.rs b/src/main.rs index 48048b4..f51528b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -220,9 +220,9 @@ async fn handle_ldk_events( hex_utils::hex_str(&payment_hash.0) ); if rejected_by_dest { - println!("rejected by destination node"); + println!("re-attempting the payment will not succeed"); } else { - println!("route failed"); + println!("payment may be retried"); } print!("> "); io::stdout().flush().unwrap();