]> git.bitcoin.ninja Git - rust-lightning/commitdiff
`rustfmt`: `fuzz/src/process_network_graph.rs`
authorElias Rohrer <dev@tnull.de>
Thu, 6 Jun 2024 11:11:36 +0000 (13:11 +0200)
committerElias Rohrer <dev@tnull.de>
Fri, 7 Jun 2024 18:42:36 +0000 (20:42 +0200)
fuzz/src/process_network_graph.rs
rustfmt_excluded_files

index b4c6a29e8a99f47744fdb9fd0caf2468c7604e57..980c147e96a024f45ae44ad7e33fae9ea390154e 100644 (file)
@@ -6,7 +6,8 @@ use crate::utils::test_logger;
 /// Actual fuzz test, method signature and name are fixed
 fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
        let logger = test_logger::TestLogger::new("".to_owned(), out);
-       let network_graph = lightning::routing::gossip::NetworkGraph::new(bitcoin::Network::Bitcoin, &logger);
+       let network_graph =
+               lightning::routing::gossip::NetworkGraph::new(bitcoin::Network::Bitcoin, &logger);
        let rapid_sync = RapidGossipSync::new(&network_graph, &logger);
        let _ = rapid_sync.update_network_graph(data);
 }
index c627a3c6d6f56020166d6f91acc3cee58c30b9b0..9532bbe3ee287a6e0d9f2f8c5bfc27368a34eaf2 100644 (file)
@@ -1,7 +1,6 @@
 ./bench/benches/bench.rs
 ./fuzz/src/chanmon_consistency.rs
 ./fuzz/src/full_stack.rs
-./fuzz/src/process_network_graph.rs
 ./fuzz/src/refund_deser.rs
 ./fuzz/src/router.rs
 ./fuzz/src/utils/mod.rs