Skip to content

Commit 5d98e82

Browse files
committed
f clarify docs somewhat
1 parent e6297c6 commit 5d98e82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ where C::Target: chain::Filter,
248248

249249
/// Gets the current list of [`ChannelMonitor`]s being monitored for, by their funding
250250
/// outpoint.
251+
///
252+
/// Note that [`ChannelMonitor`]s are not removed when a channel is closed as they are always
253+
/// monitoring for on-chain state resolutions.
251254
pub fn list_current_monitors(&self) -> Vec<OutPoint> {
252255
self.monitors.read().unwrap().keys().map(|outpoint| *outpoint).collect()
253256
}

0 commit comments

Comments
 (0)