Move node announcement fields into a separate struct
[rust-lightning] / lightning / src / ln / msgs.rs
index 303431726979b770e531c73b4f26b8ee15fe20d6..6936a7e93c45b96018d6542bdfe99a527f04e882 100644 (file)
@@ -391,7 +391,7 @@ pub struct UnsignedNodeAnnouncement {
        pub(crate) excess_address_data: Vec<u8>,
        pub(crate) excess_data: Vec<u8>,
 }
-#[derive(PartialEq, Clone)]
+#[derive(PartialEq, Clone, Debug)]
 /// A node_announcement message to be sent or received from a peer
 pub struct NodeAnnouncement {
        pub(crate) signature: Signature,