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 error_string = format!("Input file lightning-rapid-gossip-sync/res/full_graph.lngossip is missing! Download it from https://bitcoin.ninja/ldk-compressed_graph-bc08df7542-2022-05-05.bin\n\n{:?}", io_error);
311
-
#[cfg(not(require_route_graph_test))]
312
-
{
313
-
println!("{}", error_string);
314
-
return;
315
-
}
316
-
#[cfg(require_route_graph_test)]
317
-
panic!("{}", error_string);
318
-
}
319
-
assert!(sync_result.is_ok())
320
-
});
307
+
letmut file = match fs::read("../lightning-rapid-gossip-sync/res/full_graph.lngossip"){
308
+
Ok(f) => f,
309
+
Err(io_error) => {
310
+
let error_string = format!(
311
+
"Input file lightning-rapid-gossip-sync/res/full_graph.lngossip is missing! Download it from https://bitcoin.ninja/ldk-compressed_graph-bc08df7542-2022-05-05.bin\n\n{:?}",
0 commit comments