Skip to content

Commit ec1a66e

Browse files
committed
Add missing unwrap in reload_tests.rs
1 parent dfb02f1 commit ec1a66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/reload_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ fn do_test_data_loss_protect(reconnect_panicing: bool, substantially_old: bool,
526526
// `not_stale` to test the boundary condition.
527527
let pay_params = PaymentParameters::for_keysend(nodes[1].node.get_our_node_id(), 100, false);
528528
let route_params = RouteParameters::from_payment_params_and_value(pay_params, 40000);
529-
nodes[0].node.send_spontaneous_payment_with_retry(None, RecipientOnionFields::spontaneous_empty(), PaymentId([0; 32]), route_params, Retry::Attempts(0));
529+
nodes[0].node.send_spontaneous_payment_with_retry(None, RecipientOnionFields::spontaneous_empty(), PaymentId([0; 32]), route_params, Retry::Attempts(0)).unwrap();
530530
check_added_monitors(&nodes[0], 1);
531531
let update_add_commit = SendEvent::from_node(&nodes[0]);
532532

0 commit comments

Comments
 (0)