From 8c621ea7609c9cc785b93862e4afed93b43218b5 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 5 May 2021 00:00:04 +0000 Subject: [PATCH] Update payment error messages to better match reality --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5