X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Fpeer_channel_encryptor.rs;h=152426577adf33a7980c00890c3eae830a738b4f;hb=eff8af21103e43f763cb10ae6a75c1543a2d4068;hp=7e84e329eb1482bbeb9e08f1165ad1ddf93432fd;hpb=126b514168ff8294f6ee7b9573797c6759512b9c;p=rust-lightning diff --git a/lightning/src/ln/peer_channel_encryptor.rs b/lightning/src/ln/peer_channel_encryptor.rs index 7e84e329..15242657 100644 --- a/lightning/src/ln/peer_channel_encryptor.rs +++ b/lightning/src/ln/peer_channel_encryptor.rs @@ -1,13 +1,13 @@ use ln::msgs::LightningError; use ln::msgs; -use bitcoin_hashes::{Hash, HashEngine, Hmac, HmacEngine}; -use bitcoin_hashes::sha256::Hash as Sha256; +use bitcoin::hashes::{Hash, HashEngine, Hmac, HmacEngine}; +use bitcoin::hashes::sha256::Hash as Sha256; -use secp256k1::Secp256k1; -use secp256k1::key::{PublicKey,SecretKey}; -use secp256k1::ecdh::SharedSecret; -use secp256k1; +use bitcoin::secp256k1::Secp256k1; +use bitcoin::secp256k1::key::{PublicKey,SecretKey}; +use bitcoin::secp256k1::ecdh::SharedSecret; +use bitcoin::secp256k1; use util::chacha20poly1305rfc::ChaCha20Poly1305RFC; use util::byte_utils; @@ -467,7 +467,7 @@ impl PeerChannelEncryptor { #[cfg(test)] mod tests { - use secp256k1::key::{PublicKey,SecretKey}; + use bitcoin::secp256k1::key::{PublicKey,SecretKey}; use hex;