We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6297c6 commit 5d98e82Copy full SHA for 5d98e82
lightning/src/chain/chainmonitor.rs
@@ -248,6 +248,9 @@ where C::Target: chain::Filter,
248
249
/// Gets the current list of [`ChannelMonitor`]s being monitored for, by their funding
250
/// 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.
254
pub fn list_current_monitors(&self) -> Vec<OutPoint> {
255
self.monitors.read().unwrap().keys().map(|outpoint| *outpoint).collect()
256
}
0 commit comments