Require Init as first message, send our own Init for outbound
[rust-lightning] / src / ln / chan_utils.rs
index dd5515c88046ac18b0686e7a810d5cfdeed65c3e..eb85c0e1f3e1a985d39be9161c3d9e670ed50a4e 100644 (file)
@@ -7,9 +7,10 @@ use secp256k1::Secp256k1;
 use secp256k1;
 
 use crypto::digest::Digest;
-use crypto::sha2::Sha256;
 use crypto::ripemd160::Ripemd160;
 
+use util::sha2::Sha256;
+
 // Various functions for key derivation and transaction creation for use within channels. Primarily
 // used in Channel and ChannelMonitor.