]> git.bitcoin.ninja Git - rapid-gossip-sync-server/commitdiff
Stop pruning the network graph on startup
authorMatt Corallo <git@bluematt.me>
Wed, 8 Feb 2023 16:55:23 +0000 (16:55 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 7 Mar 2023 00:36:52 +0000 (00:36 +0000)
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

index 25ce1a2f5015c2a23dd76479fd12f831a854903d..026357cf2405e750ed40e4325cdb6cb5ac99f98c 100644 (file)
@@ -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 {