projects
/
ldk-sample
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update payment error messages to better match reality
[ldk-sample]
/
src
/
main.rs
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 {
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 {
} else {
- println!("
route fail
ed");
+ println!("
payment may be retri
ed");
}
print!("> ");
io::stdout().flush().unwrap();
}
print!("> ");
io::stdout().flush().unwrap();