Make ChannelMonitor always clonable
[rust-lightning] / lightning / src / chain / channelmonitor.rs
index 929d56ef87bf801576f41670504e0758ee3bebcf..ffc1e2dc4e3b710eb9d5a0956bfdba2201746fb1 100644 (file)
@@ -737,7 +737,7 @@ pub struct ChannelMonitor<Signer: WriteableEcdsaChannelSigner> {
        pub(super) inner: Mutex<ChannelMonitorImpl<Signer>>,
 }
 
-impl<Signer: WriteableEcdsaChannelSigner> Clone for ChannelMonitor<Signer> where Signer: Clone {
+impl<Signer: WriteableEcdsaChannelSigner> Clone for ChannelMonitor<Signer> {
        fn clone(&self) -> Self {
                let inner = self.inner.lock().unwrap().clone();
                ChannelMonitor::from_impl(inner)