Update auto-generated bindings to LDK 0.0.110
[ldk-c-bindings] / lightning-c-bindings / src / lightning / ln / peer_handler.rs
index 1de59bc5a4edddd5f946a2ee52eec682bcf50d6e..f184b1e7e9c4ebf70671c4d22821dbcee95ec6d9 100644 (file)
@@ -958,8 +958,7 @@ pub extern "C" fn PeerManager_get_peer_node_ids(this_arg: &crate::lightning::ln:
 /// peer using the init message.
 /// The user should pass the remote network address of the host they are connected to.
 ///
-/// Note that if an Err is returned here you MUST NOT call socket_disconnected for the new
-/// descriptor but must disconnect the connection immediately.
+/// If an `Err` is returned here you must disconnect the connection immediately.
 ///
 /// Returns a small number of bytes to send to the remote node (currently always 50).
 ///
@@ -984,9 +983,8 @@ pub extern "C" fn PeerManager_new_outbound_connection(this_arg: &crate::lightnin
 /// The user should pass the remote network address of the host they are connected to.
 ///
 /// May refuse the connection by returning an Err, but will never write bytes to the remote end
-/// (outbound connector always speaks first). Note that if an Err is returned here you MUST NOT
-/// call socket_disconnected for the new descriptor but must disconnect the connection
-/// immediately.
+/// (outbound connector always speaks first). If an `Err` is returned here you must disconnect
+/// the connection immediately.
 ///
 /// Panics if descriptor is duplicative with some other descriptor which has not yet been
 /// [`socket_disconnected()`].