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],Some(&our_chans.iter().collect::<Vec<_>>()),&Vec::new(),100,42,Arc::clone(&logger)).unwrap();
1762
1766
assert_eq!(route.paths[0].len(),2);
@@ -1804,6 +1808,8 @@ mod tests {
1804
1808
outbound_capacity_msat:250_000_000,
1805
1809
inbound_capacity_msat:0,
1806
1810
is_live:true,
1811
+
fee_base_msat:0,
1812
+
fee_proportional_millionths:0,
1807
1813
}];
1808
1814
let route = get_route(&our_id,&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[2],Some(&our_chans.iter().collect::<Vec<_>>()),&Vec::new(),100,42,Arc::clone(&logger)).unwrap();
1809
1815
assert_eq!(route.paths[0].len(),2);
@@ -1868,6 +1874,8 @@ mod tests {
1868
1874
outbound_capacity_msat:250_000_000,
1869
1875
inbound_capacity_msat:0,
1870
1876
is_live:true,
1877
+
fee_base_msat:0,
1878
+
fee_proportional_millionths:0,
1871
1879
}];
1872
1880
let route = get_route(&our_id,&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[2],Some(&our_chans.iter().collect::<Vec<_>>()),&Vec::new(),100,42,Arc::clone(&logger)).unwrap();
1873
1881
assert_eq!(route.paths[0].len(),2);
@@ -2004,6 +2012,8 @@ mod tests {
2004
2012
outbound_capacity_msat:250_000_000,
2005
2013
inbound_capacity_msat:0,
2006
2014
is_live:true,
2015
+
fee_base_msat:0,
2016
+
fee_proportional_millionths:0,
2007
2017
}];
2008
2018
letmut last_hops = last_hops(&nodes);
2009
2019
let route = get_route(&our_id,&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[6],Some(&our_chans.iter().collect::<Vec<_>>()),&last_hops.iter().collect::<Vec<_>>(),100,42,Arc::clone(&logger)).unwrap();
@@ -2132,6 +2142,8 @@ mod tests {
2132
2142
outbound_capacity_msat:100000,
2133
2143
inbound_capacity_msat:100000,
2134
2144
is_live:true,
2145
+
fee_base_msat:0,
2146
+
fee_proportional_millionths:0,
2135
2147
}];
2136
2148
let route = get_route(&source_node_id,&NetworkGraph::new(genesis_block(Network::Testnet).header.block_hash()),&target_node_id,Some(&our_chans.iter().collect::<Vec<_>>()),&last_hops.iter().collect::<Vec<_>>(),100,42,Arc::new(test_utils::TestLogger::new())).unwrap();
0 commit comments