Skip to content

Commit c31e000

Browse files
committed
f - expand timer_tick_occurred docs
1 parent 8fcbedd commit c31e000

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/msgs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,8 @@ pub trait OnionMessageHandler: EventsProvider {
15801580
/// drop and refuse to forward onion messages to this peer.
15811581
fn peer_disconnected(&self, their_node_id: &PublicKey);
15821582

1583-
/// Performs actions that should happen on startup and roughly every ten seconds thereafter.
1583+
/// Performs actions that should happen roughly every ten seconds after startup. Allows handlers
1584+
/// to drop any buffered onion messages intended for prospective peers.
15841585
fn timer_tick_occurred(&self);
15851586

15861587
// Handler information:

0 commit comments

Comments
 (0)