Skip to content

Commit 2bfadd4

Browse files
committed
f follow pattern more rigorously
1 parent 0bf3801 commit 2bfadd4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4913,10 +4913,8 @@ fn max_out_mpp_path() {
49134913
let route_params_cfg = crate::routing::router::RouteParametersConfig::default();
49144914

49154915
let id = PaymentId([42; 32]);
4916-
nodes[0]
4917-
.node
4918-
.pay_for_bolt11_invoice(&invoice, id, None, route_params_cfg, Retry::Attempts(0))
4919-
.unwrap();
4916+
let retry = Retry::Attempts(0);
4917+
nodes[0].node.pay_for_bolt11_invoice(&invoice, id, None, route_params_cfg, retry).unwrap();
49204918

49214919
assert!(nodes[0].node.list_recent_payments().len() == 1);
49224920
check_added_monitors(&nodes[0], 2); // one monitor update per MPP part

0 commit comments

Comments
 (0)