File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1305,9 +1305,11 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1305
1305
/// Gets the list of pending events which were generated by previous actions, clearing the list
1306
1306
/// in the process.
1307
1307
///
1308
- /// This is called by ChainMonitor::get_and_clear_pending_events() and is equivalent to
1309
- /// EventsProvider::get_and_clear_pending_events() except that it requires &mut self as we do
1310
- /// no internal locking in ChannelMonitors.
1308
+ /// This is called by the [`EventsProvider::process_pending_events`] implementation for
1309
+ /// [`ChainMonitor`].
1310
+ ///
1311
+ /// [`EventsProvider::process_pending_events`]: crate::util::events::EventsProvider::process_pending_events
1312
+ /// [`ChainMonitor`]: crate::chain::chainmonitor::ChainMonitor
1311
1313
pub fn get_and_clear_pending_events ( & self ) -> Vec < Event > {
1312
1314
self . inner . lock ( ) . unwrap ( ) . get_and_clear_pending_events ( )
1313
1315
}
You can’t perform that action at this time.
0 commit comments