projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass ClaimAlongRouteArgs to do_claim_payment_along_route
[rust-lightning]
/
lightning
/
src
/
ln
/
monitor_tests.rs
diff --git
a/lightning/src/ln/monitor_tests.rs
b/lightning/src/ln/monitor_tests.rs
index 761d4b5316c69b4a728c60f654733ccf5330ab3b..90964a006ba18b6f3dd2a8195c0e23daa81d9857 100644
(file)
--- a/
lightning/src/ln/monitor_tests.rs
+++ b/
lightning/src/ln/monitor_tests.rs
@@
-2896,7
+2896,9
@@
fn test_event_replay_causing_monitor_replay() {
let payment_preimage = route_payment(&nodes[0], &[&nodes[1]], 1_000_000).0;
let payment_preimage = route_payment(&nodes[0], &[&nodes[1]], 1_000_000).0;
- do_claim_payment_along_route(&nodes[0], &[&[&nodes[1]]], false, payment_preimage);
+ do_claim_payment_along_route(
+ ClaimAlongRouteArgs::new(&nodes[0], &[&[&nodes[1]]], payment_preimage)
+ );
// At this point the `PaymentSent` event has not been processed but the full commitment signed
// dance has completed.
// At this point the `PaymentSent` event has not been processed but the full commitment signed
// dance has completed.