You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface for get_route will change to take a scorer. Using
get_route_and_payment_hash whenever possible allows for keeping the
scorer inside get_route_and_payment_hash rather than at every call site.
Replace get_route_and_payment_hash with get_route wherever possible.
Additionally, update get_route_and_payment_hash to use the sending
node's logger and useable channels.
let net_graph_msg_handler = &nodes[0].net_graph_msg_handler;
5751
-
let route = get_route(&nodes[0].node.get_our_node_id(),&net_graph_msg_handler.network_graph,&nodes[1].node.get_our_node_id(),Some(InvoiceFeatures::known()),None,&Vec::new(),100_000,TEST_FINAL_CLTV,&logger).unwrap();
0 commit comments