Skip to content

Commit 2adb690

Browse files
authored
Merge pull request #4538 from lexe-app/phlip9/fix-docs
chainmon: fixup stale docs mentioning removed funding_txo params
2 parents 369a2cf + c1c9804 commit 2adb690

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lightning/src/chain/chainmonitor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ where
691691
ret
692692
}
693693

694-
/// Gets the [`LockedChannelMonitor`] for a given funding outpoint, returning an `Err` if no
694+
/// Gets the [`LockedChannelMonitor`] for a given channel ID, returning an `Err` if no
695695
/// such [`ChannelMonitor`] is currently being monitored for.
696696
///
697697
/// Note that the result holds a mutex over our monitor set, and should not be held
@@ -707,7 +707,7 @@ where
707707
}
708708
}
709709

710-
/// Lists the funding outpoint and channel ID of each [`ChannelMonitor`] being monitored.
710+
/// Lists the channel ID of each [`ChannelMonitor`] being monitored.
711711
///
712712
/// Note that [`ChannelMonitor`]s are not removed when a channel is closed as they are always
713713
/// monitoring for on-chain state resolutions.
@@ -764,7 +764,7 @@ where
764764
/// Note that we don't care about calls to [`Persist::update_persisted_channel`] where no
765765
/// [`ChannelMonitorUpdate`] was provided.
766766
///
767-
/// Returns an [`APIError::APIMisuseError`] if `funding_txo` does not match any currently
767+
/// Returns an [`APIError::APIMisuseError`] if `channel_id` does not match any currently
768768
/// registered [`ChannelMonitor`]s.
769769
pub fn channel_monitor_updated(
770770
&self, channel_id: ChannelId, completed_update_id: u64,

0 commit comments

Comments
 (0)