Skip to content

Commit 1b6e001

Browse files
committed
Remove stray Sync+Send in Sign generic bound in FilesystemPersister
1 parent 9f5b97b commit 1b6e001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-persister/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ impl FilesystemPersister {
143143
}
144144
}
145145

146-
impl<ChannelSigner: Sign> channelmonitor::Persist<ChannelSigner> for FilesystemPersister {
146+
impl<ChannelSigner: Sign+Clone> channelmonitor::Persist<ChannelSigner> for FilesystemPersister {
147147
fn persist_new_channel(&self, funding_txo: OutPoint, monitor: &ChannelMonitor<ChannelSigner>) -> Result<(), ChannelMonitorUpdateErr> {
148148
let filename = format!("{}_{}", funding_txo.txid.to_hex(), funding_txo.index);
149149
util::write_to_file(self.path_to_monitor_data(), filename, monitor)

0 commit comments

Comments
 (0)