Skip to content

Commit 179c9fa

Browse files
committed
f comment
1 parent b3bba6d commit 179c9fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6003,6 +6003,8 @@ pub(crate) mod bench_utils {
60036003

60046004
let nodes = graph.read_only().nodes().clone();
60056005
let mut route_endpoints = Vec::new();
6006+
// Fetch 1.5x more routes than we need as after we do some scorer updates we may end up
6007+
// with some routes we picked being un-routable.
60066008
for _ in 0..route_count * 3 / 2 {
60076009
loop {
60086010
seed = seed.overflowing_mul(6364136223846793005).0.overflowing_add(1).0;

0 commit comments

Comments
 (0)