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
Copy file name to clipboardExpand all lines: lightning/src/routing/router.rs
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1635,7 +1635,7 @@ mod tests {
1635
1635
outbound_capacity_msat:100000,
1636
1636
inbound_capacity_msat:100000,
1637
1637
is_outbound:true, is_funding_locked:true,
1638
-
is_live:true, is_public:true,
1638
+
is_usable:true, is_public:true,
1639
1639
counterparty_forwarding_info:None,
1640
1640
}];
1641
1641
@@ -1955,7 +1955,7 @@ mod tests {
1955
1955
outbound_capacity_msat:250_000_000,
1956
1956
inbound_capacity_msat:0,
1957
1957
is_outbound:true, is_funding_locked:true,
1958
-
is_live:true, is_public:true,
1958
+
is_usable:true, is_public:true,
1959
1959
counterparty_forwarding_info:None,
1960
1960
}];
1961
1961
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();
@@ -2005,7 +2005,7 @@ mod tests {
2005
2005
outbound_capacity_msat:250_000_000,
2006
2006
inbound_capacity_msat:0,
2007
2007
is_outbound:true, is_funding_locked:true,
2008
-
is_live:true, is_public:true,
2008
+
is_usable:true, is_public:true,
2009
2009
counterparty_forwarding_info:None,
2010
2010
}];
2011
2011
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();
@@ -2072,7 +2072,7 @@ mod tests {
2072
2072
outbound_capacity_msat:250_000_000,
2073
2073
inbound_capacity_msat:0,
2074
2074
is_outbound:true, is_funding_locked:true,
2075
-
is_live:true, is_public:true,
2075
+
is_usable:true, is_public:true,
2076
2076
counterparty_forwarding_info:None,
2077
2077
}];
2078
2078
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();
@@ -2211,7 +2211,7 @@ mod tests {
2211
2211
outbound_capacity_msat:250_000_000,
2212
2212
inbound_capacity_msat:0,
2213
2213
is_outbound:true, is_funding_locked:true,
2214
-
is_live:true, is_public:true,
2214
+
is_usable:true, is_public:true,
2215
2215
counterparty_forwarding_info:None,
2216
2216
}];
2217
2217
letmut last_hops = last_hops(&nodes);
@@ -2342,7 +2342,7 @@ mod tests {
2342
2342
outbound_capacity_msat:100000,
2343
2343
inbound_capacity_msat:100000,
2344
2344
is_outbound:true, is_funding_locked:true,
2345
-
is_live:true, is_public:true,
2345
+
is_usable:true, is_public:true,
2346
2346
counterparty_forwarding_info:None,
2347
2347
}];
2348
2348
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();
0 commit comments