We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3bba6d commit 179c9faCopy full SHA for 179c9fa
lightning/src/routing/router.rs
@@ -6003,6 +6003,8 @@ pub(crate) mod bench_utils {
6003
6004
let nodes = graph.read_only().nodes().clone();
6005
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.
6008
for _ in 0..route_count * 3 / 2 {
6009
loop {
6010
seed = seed.overflowing_mul(6364136223846793005).0.overflowing_add(1).0;
0 commit comments