Expose log_bytes! macro for use in other crates
[rust-lightning] / lightning / src / ln / onion_route_tests.rs
index 39c1aa378d1bf490ac9e18ffe32d2285d99cfbeb..419d5c158c63ef57245280f62e57579fc5d1e08b 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