Make ChannelMonitor always clonable
[rust-lightning] / lightning / src / sign / mod.rs
index 04c4446e2c0c8c75bd4f2f7e3b415b8f35296cf2..bc317246adcb10cb8dde6a26f8989dbbd46cd444 100644 (file)
@@ -612,7 +612,7 @@ pub trait EcdsaChannelSigner: ChannelSigner {
 ///
 /// [`ChannelManager`]: crate::ln::channelmanager::ChannelManager
 /// [`ChannelMonitor`]: crate::chain::channelmonitor::ChannelMonitor
-pub trait WriteableEcdsaChannelSigner: EcdsaChannelSigner + Writeable {}
+pub trait WriteableEcdsaChannelSigner: EcdsaChannelSigner + Writeable + Clone {}
 
 /// Specifies the recipient of an invoice.
 ///