Add additional Clone derives
[rust-lightning] / lightning / src / chain / channelmonitor.rs
index b46a2df13eea8d8c462e1df72dd6dca9fac2b45f..95495d1bf1334bb2381e6bf92b3485acf2f8ce09 100644 (file)
@@ -174,7 +174,7 @@ pub enum ChannelMonitorUpdateErr {
 /// means you tried to update a monitor for a different channel or the ChannelMonitorUpdate was
 /// corrupted.
 /// Contains a developer-readable error message.
-#[derive(Debug)]
+#[derive(Clone, Debug)]
 pub struct MonitorUpdateError(pub &'static str);
 
 /// An event to be processed by the ChannelManager.