Merge pull request #2485 from optout21/channel-id-4struct1
[rust-lightning] / lightning / src / ln / channel_id.rs
index 332fc355ed38ac8eb5abe1c974e92c8ebe606ead..621ebf0c460333446e22d2a28bd7bdc4b724dae8 100644 (file)
@@ -29,7 +29,7 @@ use core::ops::Deref;
 ///
 /// This is not exported to bindings users as we just use [u8; 32] directly.
 #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
-pub struct ChannelId (pub [u8; 32]);
+pub struct ChannelId(pub [u8; 32]);
 
 impl ChannelId {
        /// Create _v1_ channel ID based on a funding TX ID and output index