Function find_route
pub fn find_route(
send_node: &Node<'_, '_, '_>,
route_params: &RouteParameters,
) -> Result<Route, LightningError>
Expand description
Like get_route
above, but adds a random CLTV offset to the final hop.
pub fn find_route(
send_node: &Node<'_, '_, '_>,
route_params: &RouteParameters,
) -> Result<Route, LightningError>
Like get_route
above, but adds a random CLTV offset to the final hop.