From 2f0f0c9bf397b19fba8fe617b50f1eb25dc79431 Mon Sep 17 00:00:00 2001 From: vss96 Date: Tue, 21 Sep 2021 00:35:26 +0530 Subject: [PATCH] Update docs to specify where process events is called --- lightning/src/ln/peer_handler.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index c9bc40c94..80edebc69 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1169,6 +1169,9 @@ impl P /// May call [`send_data`] on [`SocketDescriptor`]s. Thus, be very careful with reentrancy /// issues! /// + /// You don't have to call this function explicitly if you are using [`lightning-net-tokio`] + /// or one of the other clients provided in our language bindings. + /// /// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment /// [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards /// [`send_data`]: SocketDescriptor::send_data -- 2.39.5