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
let route = get_route(&our_id,&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[2],None,Some(&our_chans.iter().collect::<Vec<_>>()),&Vec::new(),100,42,Arc::clone(&logger)).unwrap();
@@ -1991,14 +1994,15 @@ mod tests {
1991
1994
// If we specify a channel to node7, that overrides our local channel view and that gets used
1992
1995
let our_chans = vec![channelmanager::ChannelDetails{
let route = get_route(&our_id,&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[2],None,Some(&our_chans.iter().collect::<Vec<_>>()),&Vec::new(),100,42,Arc::clone(&logger)).unwrap();
@@ -2056,14 +2060,15 @@ mod tests {
2056
2060
// If we specify a channel to node7, that overrides our local channel view and that gets used
2057
2061
let our_chans = vec![channelmanager::ChannelDetails{
let route = get_route(&our_id,&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[2],None,Some(&our_chans.iter().collect::<Vec<_>>()),&Vec::new(),100,42,Arc::clone(&logger)).unwrap();
@@ -2193,14 +2198,15 @@ mod tests {
2193
2198
// Simple test with outbound channel to 4 to test that last_hops and first_hops connect
2194
2199
let our_chans = vec![channelmanager::ChannelDetails{
let route = get_route(&source_node_id,&NetworkGraph::new(genesis_block(Network::Testnet).header.block_hash()),&target_node_id,None,Some(&our_chans.iter().collect::<Vec<_>>()),&last_hops.iter().collect::<Vec<_>>(),100,42,Arc::new(test_utils::TestLogger::new())).unwrap();
@@ -2454,14 +2461,15 @@ mod tests {
2454
2461
// Now, limit the first_hop by the outbound_capacity_msat of 200_000 sats.
2455
2462
let our_chans = vec![channelmanager::ChannelDetails{
0 commit comments