Skip to content

Commit 159be9b

Browse files
committed
f clearer comment
1 parent 7925c52 commit 159be9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,8 @@ pub struct PeerManager<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: D
676676
/// lock held. Entries may be added with only the `peers` read lock held (though the
677677
/// `Descriptor` value must already exist in `peers`).
678678
node_id_to_descriptor: Mutex<HashMap<PublicKey, Descriptor>>,
679-
/// We can only have one thread processing events at once, but if another call to
680-
/// `process_events` happens while a second call is in progress, one of the two calls needs to
679+
/// We can only have one thread processing events at once, but if second call to
680+
/// `process_events` happens while a first call is in progress, one of the two calls needs to
681681
/// start from the top to ensure any new messages are also handled.
682682
///
683683
/// Because the event handler calls into user code which may block, we don't want to block a

0 commit comments

Comments
 (0)