mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-01-18 13:24:36 +01:00
Remove a handful of redundant imports
... that newer rustc now warns about.
This commit is contained in:
parent
d1d7d8787e
commit
ef2e739295
@ -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);
|
||||
|
@ -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};
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user