Find payment bucket in calculate_success_probability_times_billion
[rust-lightning] / lightning / src / ln / onion_route_tests.rs
index e8b020e0b5c66c6f9b01d7aa30448fa9274a5f6f..36e1bd753e294272150a403b5d24c5bd339d819d 100644 (file)
@@ -993,7 +993,7 @@ macro_rules! get_phantom_route {
                (get_route(
                        &$nodes[0].node.get_our_node_id(), &payment_params, &network_graph,
                        Some(&$nodes[0].node.list_usable_channels().iter().collect::<Vec<_>>()),
-                       $amt, $nodes[0].logger, &scorer, &[0u8; 32]
+                       $amt, $nodes[0].logger, &scorer, &(), &[0u8; 32]
                ).unwrap(), phantom_route_hint.phantom_scid)
        }
 }}