From: Matt Corallo Date: Wed, 6 Jul 2022 16:18:30 +0000 (+0000) Subject: Drop unused imports in fuzzing test cases X-Git-Tag: v0.0.110~24^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=refs%2Fheads%2F2022-07-fuzz-warns;p=rust-lightning Drop unused imports in fuzzing test cases --- diff --git a/fuzz/src/process_network_graph.rs b/fuzz/src/process_network_graph.rs index 8b6462e81..d64971052 100644 --- a/fuzz/src/process_network_graph.rs +++ b/fuzz/src/process_network_graph.rs @@ -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(data: &[u8], out: Out) { let block_hash = bitcoin::BlockHash::default(); diff --git a/fuzz/src/router.rs b/fuzz/src/router.rs index 5dc158053..9a11935ca 100644 --- a/fuzz/src/router.rs +++ b/fuzz/src/router.rs @@ -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;