Remove a handful of redundant imports

... that newer rustc now warns about.
This commit is contained in:
Matt Corallo 2024-03-21 15:48:54 +00:00
parent d1d7d8787e
commit ef2e739295
4 changed files with 0 additions and 7 deletions

View File

@ -252,8 +252,6 @@ mod tests {
use crate::test_utils::{Blockchain, MockChainListener};
use super::*;
use bitcoin::network::constants::Network;
#[tokio::test]
async fn sync_from_same_chain() {
let chain = Blockchain::default().with_height(4);

View File

@ -8,9 +8,6 @@ use bitcoin::address::WitnessVersion;
use bitcoin::{PubkeyHash, ScriptHash};
use bitcoin::hashes::hex::FromHex;
use bitcoin::hashes::{sha256, Hash};
use lightning::ln::PaymentSecret;
use lightning::routing::gossip::RoutingFees;
use lightning::routing::router::{RouteHint, RouteHintHop};
use lightning_invoice::*;
use secp256k1::PublicKey;
use secp256k1::ecdsa::{RecoverableSignature, RecoveryId};

View File

@ -556,7 +556,6 @@ mod tests {
use lightning::ln::features::*;
use lightning::ln::msgs::*;
use lightning::ln::peer_handler::{MessageHandler, PeerManager};
use lightning::ln::features::NodeFeatures;
use lightning::routing::gossip::NodeId;
use lightning::events::*;
use lightning::util::test_utils::TestNodeSigner;

View File

@ -379,7 +379,6 @@ mod tests {
use lightning::ln::functional_test_utils::*;
use lightning::util::test_utils;
use lightning::util::persist::read_channel_monitors;
use std::fs;
use std::str::FromStr;
impl Drop for FilesystemStore {