Separate Clone from Sign
[rust-lightning] / lightning-persister / src / lib.rs
index af11dfd167b4d51f1c6a1bde4ea7ab5eb42308a9..47789f2ef2ca6250aeea05679316ce07f900a449 100644 (file)
@@ -143,7 +143,7 @@ impl FilesystemPersister {
                }
 }
 
-impl<ChannelSigner: Sign + Send + Sync> channelmonitor::Persist<ChannelSigner> for FilesystemPersister {
+impl<ChannelSigner: Sign> channelmonitor::Persist<ChannelSigner> for FilesystemPersister {
        fn persist_new_channel(&self, funding_txo: OutPoint, monitor: &ChannelMonitor<ChannelSigner>) -> Result<(), ChannelMonitorUpdateErr> {
                let filename = format!("{}_{}", funding_txo.txid.to_hex(), funding_txo.index);
                util::write_to_file(self.path_to_monitor_data(), filename, monitor)