Add some basic test coverage of monitor payment data reloading
[rust-lightning] / lightning / src / ln / onion_route_tests.rs
index 163c4ae15d5e1b1af80d3ab6e50c20a8694be8df..c6f55e384d8432c6d5bfb0958662aa62b5d3b884 100644 (file)
@@ -479,7 +479,7 @@ fn test_onion_failure() {
 
        // Test a positive test-case with one extra msat, meeting the minimum.
        bogus_route.paths[0][route_len-1].fee_msat = amt_to_forward + 1;
-       let (preimage, _, _) = send_along_route(&nodes[0], bogus_route, &[&nodes[1], &nodes[2]], amt_to_forward+1);
+       let preimage = send_along_route(&nodes[0], bogus_route, &[&nodes[1], &nodes[2]], amt_to_forward+1).0;
        claim_payment(&nodes[0], &[&nodes[1], &nodes[2]], preimage);
 
        //TODO: with new config API, we will be able to generate both valid and