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 +1996,16 @@ mod tests {
1991
1996
// If we specify a channel to node7, that overrides our local channel view and that gets used
1992
1997
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 +2063,16 @@ mod tests {
2056
2063
// If we specify a channel to node7, that overrides our local channel view and that gets used
2057
2064
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 +2202,16 @@ mod tests {
2193
2202
// Simple test with outbound channel to 4 to test that last_hops and first_hops connect
2194
2203
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 +2467,16 @@ mod tests {
2454
2467
// Now, limit the first_hop by the outbound_capacity_msat of 200_000 sats.
2455
2468
let our_chans = vec![channelmanager::ChannelDetails{
0 commit comments