X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-persister%2Fsrc%2Flib.rs;fp=lightning-persister%2Fsrc%2Flib.rs;h=368945d1cfb489db52752a1e4ec6b4afedb0497d;hb=dba0709b084cd3c1f50f95afed5111e5f8afda39;hp=3138087997e7e2295ca4d3cdcef3264a16a5c75f;hpb=021959f822222cd3782a212f0b7ad3819ee56349;p=rust-lightning diff --git a/lightning-persister/src/lib.rs b/lightning-persister/src/lib.rs index 313808799..368945d1c 100644 --- a/lightning-persister/src/lib.rs +++ b/lightning-persister/src/lib.rs @@ -159,7 +159,7 @@ impl FilesystemPersister { } } -impl channelmonitor::Persist for FilesystemPersister { +impl channelmonitor::Persist for FilesystemPersister { fn persist_new_channel(&self, funding_txo: OutPoint, monitor: &ChannelMonitor) -> Result<(), ChannelMonitorUpdateErr> { let filename = format!("{}_{}", funding_txo.txid.to_hex(), funding_txo.index); util::write_to_file(self.path_to_monitor_data(), filename, monitor)