From 34466acd2f9d06e0dcd6bd9aeb322ede31ce2fcf Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 8 Feb 2023 16:55:23 +0000 Subject: [PATCH] Stop pruning the network graph on startup There's not a lot of reason for this and better to keep things around until we go to build the gossip output --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 25ce1a2..026357c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,7 +60,6 @@ impl RapidSyncProcessor { let mut buffered_reader = BufReader::new(file); let network_graph_result = NetworkGraph::read(&mut buffered_reader, logger); if let Ok(network_graph) = network_graph_result { - network_graph.remove_stale_channels_and_tracking(); println!("Initialized from cached network graph!"); network_graph } else { -- 2.39.5