]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Drop unused imports in fuzzing test cases 2022-07-fuzz-warns
authorMatt Corallo <git@bluematt.me>
Wed, 6 Jul 2022 16:18:30 +0000 (16:18 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 6 Jul 2022 16:18:30 +0000 (16:18 +0000)
fuzz/src/process_network_graph.rs
fuzz/src/router.rs

index 8b6462e81e48c95ab30d3db7409b3c63a18be28a..d649710526ad77f43e8c5dc969a6cdbdca7dd382 100644 (file)
@@ -1,11 +1,8 @@
 // Imports that need to be added manually
-use lightning::util::logger::Logger;
 use lightning_rapid_gossip_sync::RapidGossipSync;
 
 use utils::test_logger;
 
-use std::sync::Arc;
-
 /// Actual fuzz test, method signature and name are fixed
 fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
        let block_hash = bitcoin::BlockHash::default();
index 5dc158053b7bdfa4a10e3a465314223b542180cf..9a11935cad6d1fdcee64a5d983211be802d7ae3e 100644 (file)
@@ -19,7 +19,6 @@ use lightning::ln::msgs;
 use lightning::routing::gossip::{NetworkGraph, RoutingFees};
 use lightning::routing::router::{find_route, PaymentParameters, RouteHint, RouteHintHop, RouteParameters};
 use lightning::routing::scoring::FixedPenaltyScorer;
-use lightning::util::logger::Logger;
 use lightning::util::ser::Readable;
 
 use bitcoin::hashes::Hash;