Skip to content

Commit d0c8792

Browse files
committed
Fix documentation on PeerHandleError
1 parent 8d0a6cd commit d0c8792

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ pub trait SocketDescriptor : cmp::Eq + hash::Hash + Clone {
8888
}
8989

9090
/// Error for PeerManager errors. If you get one of these, you must disconnect the socket and
91-
/// generate no further read_event/write_buffer_space_avail calls for the descriptor, only
92-
/// triggering a single socket_disconnected call (unless it was provided in response to a
93-
/// new_*_connection event, in which case no such socket_disconnected() must be called and the
94-
/// socket silently disconencted).
91+
/// generate no further read_event/write_buffer_space_avail/doscket_disconnected calls for the
92+
/// descriptor.
9593
pub struct PeerHandleError {
9694
/// Used to indicate that we probably can't make any future connections to this peer, implying
9795
/// we should go ahead and force-close any channels we have with it.

0 commit comments

Comments
 (0)