Allow(unused_imports) on prelude imports
[rust-lightning] / lightning / src / blinded_path / utils.rs
index 2e691898dc26cc187504fee5e774d4f8ce9a4af7..7e43f31453637a6fdea2309d4713f2b34567693f 100644 (file)
@@ -18,11 +18,13 @@ use bitcoin::secp256k1::ecdh::SharedSecret;
 use super::{BlindedHop, BlindedPath};
 use crate::ln::msgs::DecodeError;
 use crate::ln::onion_utils;
-use crate::onion_message::Destination;
-use crate::util::chacha20poly1305rfc::ChaChaPolyWriteAdapter;
+use crate::onion_message::messenger::Destination;
+use crate::crypto::streams::ChaChaPolyWriteAdapter;
 use crate::util::ser::{Readable, Writeable};
 
 use crate::io;
+
+#[allow(unused_imports)]
 use crate::prelude::*;
 
 // TODO: DRY with onion_utils::construct_onion_keys_callback