Add test of an initial message other than `Init`
[rust-lightning] / lightning / src / ln / onion_route_tests.rs
index 1ed10a4a61dc784b291d8b514b84a290c4ff6fa7..fbc8e1c9e4ec22cfe805154e04f2af7546ff89f9 100644 (file)
@@ -928,7 +928,7 @@ macro_rules! get_phantom_route {
                                                htlc_maximum_msat: None,
                                        }
                ])]);
-               let scorer = test_utils::TestScorer::with_penalty(0);
+               let scorer = test_utils::TestScorer::new();
                let network_graph = $nodes[0].network_graph.read_only();
                (get_route(
                        &$nodes[0].node.get_our_node_id(), &payment_params, &network_graph,