Add ChannelKeys to ChannelMonitor
[rust-lightning] / lightning / src / ln / chan_utils.rs
index 51a2c4b042224464eacbfe5781c9ed36325b992e..e7bea90914ebf3fc834f909a84dc7c9bee84217f 100644 (file)
@@ -155,7 +155,7 @@ pub struct TxCreationKeys {
 }
 
 /// One counterparty's public keys which do not change over the life of a channel.
-#[derive(Clone)]
+#[derive(Clone, PartialEq)]
 pub struct ChannelPublicKeys {
        /// The public key which is used to sign all commitment transactions, as it appears in the
        /// on-chain channel lock-in 2-of-2 multisig output.