projects
/
ldk-sample
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00d6f7
)
Update payment error messages to better match reality
author
Matt Corallo
<git@bluematt.me>
Wed, 5 May 2021 00:00:04 +0000
(
00:00
+0000)
committer
Matt Corallo
<git@bluematt.me>
Sat, 8 May 2021 22:57:18 +0000
(22:57 +0000)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index 48048b4f493bc8fe40e0f4f84a67c9abba0182c4..f51528b7b57832b3caf279b2f7fd856b6377de87 100644
(file)
--- 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!("re
jected by destination node
");
+ println!("re
-attempting the payment will not succeed
");
} else {
- println!("
route fail
ed");
+ println!("
payment may be retri
ed");
}
print!("> ");
io::stdout().flush().unwrap();