Merge pull request #1702 from TheBlueMatt/2022-09-one-hop-retryable
[rust-lightning] / lightning / src / ln / channelmanager.rs
index 2d1a3c7efdc30a1913bd2819ee32010a161eeb74..80d0fea5b6ca12d5d1db9185560cff11709735c1 100644 (file)
@@ -5671,10 +5671,6 @@ where
        ///
        /// An [`EventHandler`] may safely call back to the provider in order to handle an event.
        /// However, it must not call [`Writeable::write`] as doing so would result in a deadlock.
-       ///
-       /// Pending events are persisted as part of [`ChannelManager`]. While these events are cleared
-       /// when processed, an [`EventHandler`] must be able to handle previously seen events when
-       /// restarting from an old state.
        fn process_pending_events<H: Deref>(&self, handler: H) where H::Target: EventHandler {
                PersistenceNotifierGuard::optionally_notify(&self.total_consistency_lock, &self.persistence_notifier, || {
                        let mut result = NotifyOption::SkipPersist;