X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=rust-lightning;a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Fpeer_channel_encryptor.rs;h=152426577adf33a7980c00890c3eae830a738b4f;hp=9585887d5dbd12fcf3babe8edaf8db36b2fc44a5;hb=eff8af21103e43f763cb10ae6a75c1543a2d4068;hpb=4909d3cd6a05dfcba39fe08e6d8f539944c8ef66 diff --git a/lightning/src/ln/peer_channel_encryptor.rs b/lightning/src/ln/peer_channel_encryptor.rs index 9585887d..15242657 100644 --- a/lightning/src/ln/peer_channel_encryptor.rs +++ b/lightning/src/ln/peer_channel_encryptor.rs @@ -4,10 +4,10 @@ use ln::msgs; 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;