Skip to content

Commit d66f6e3

Browse files
committed
f add note about calling update_channel
1 parent 728ea70 commit d66f6e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,6 +1895,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
18951895
/// to inform the network about the uselessness of these channels.
18961896
///
18971897
/// This method handles all the details, and must be called roughly once per minute.
1898+
///
1899+
/// Note that in some rare cases this may generate a `chain::Watch::update_channel` call.
18981900
pub fn timer_chan_freshness_every_min(&self) {
18991901
let _persistence_guard = PersistenceNotifierGuard::new(&self.total_consistency_lock, &self.persistence_notifier);
19001902
self.process_background_events();

0 commit comments

Comments
 (0)