Skip to content

Commit 5c01f4d

Browse files
f fix links in docs
1 parent f8edd1b commit 5c01f4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/ln/data_persister.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ pub trait ChannelDataPersister: Send + Sync {
6565
/// and [`ChannelMonitorUpdate::write`] for writing out an update.
6666
///
6767
/// [`load_channel_data`]: trait.ChannelDataPersister.html#tymethod.load_channel_data
68-
/// [`ChannelMonitor::write_for_disk`]: struct.ChannelMonitor.html#method.write_for_disk
69-
/// [`ChannelMonitorUpdate::write`]: struct.ChannelMonitorUpdate.html#method.write
68+
/// [`ChannelMonitor::write_for_disk`]: ../../chain/channelmonitor/struct.ChannelMonitor.html#method.write_for_disk
69+
/// [`ChannelMonitorUpdate::write`]: ../../chain/channelmonitor/struct.ChannelMonitorUpdate.html#method.write
7070
fn update_channel_data(&self, id: OutPoint, update: &ChannelMonitorUpdate, data: &ChannelMonitor<Self::Keys>) -> Result<(), ChannelMonitorUpdateErr>;
7171

7272
/// Load the data for all channels. Generally only called on startup. You must
@@ -78,8 +78,8 @@ pub trait ChannelDataPersister: Send + Sync {
7878
///
7979
/// See [`ChannelMonitor::read`] for deserializing a ChannelMonitor.
8080
///
81-
/// [`update_id`]: struct.ChannelMonitorUpdate.html#structfield.update_id
81+
/// [`update_id`]: ../../chain/channelmonitor/struct.ChannelMonitorUpdate.html#structfield.update_id
8282
/// [`update_channel_data`]: trait.ChannelDataPersister.html#tymethod.update_channel_data
83-
/// [`ChannelMonitor::read`]: trait.Readable.html
83+
/// [`ChannelMonitor::read`]: ../../util/ser/trait.Readable.html#impl-Readable-for-(BlockHash,ChannelMonitor<ChanSigner>)
8484
fn load_channel_data(&self) -> Result<HashMap<OutPoint, ChannelMonitor<Self::Keys>>, ChannelMonitorUpdateErr>;
8585
}

0 commit comments

Comments
 (0)