projects
/
ldk-sample
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a 10-second timeout for InvoicePayer
[ldk-sample]
/
src
/
main.rs
diff --git
a/src/main.rs
b/src/main.rs
index 3bdabc172063b954cb8dddb8d9a49cd837c4b393..202b551f140ad177c67f49f4d95262e3999d4514 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-677,7
+677,7
@@
async fn start_ldk() {
scorer.clone(),
logger.clone(),
event_handler,
scorer.clone(),
logger.clone(),
event_handler,
- payment::Retry::
Attempts(5
),
+ payment::Retry::
Timeout(Duration::from_secs(10)
),
));
// Step 18: Persist ChannelManager and NetworkGraph
));
// Step 18: Persist ChannelManager and NetworkGraph