#![crate_name = "lightning"]
extern crate bitcoin;
-extern crate secp256k1;
-extern crate rand;
extern crate crypto;
+extern crate rand;
+extern crate secp256k1;
+#[cfg(test)] extern crate hex;
+#[macro_use]
+pub mod util;
pub mod chain;
pub mod ln;
-pub mod util;