Skip to content

Commit

Permalink
minor: fix misleading comment in Notifications (paritytech#14239)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin authored and nathanwhit committed Jul 19, 2023
1 parent c907dce commit d055db2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/network/src/protocol/notifications/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1235,8 +1235,9 @@ impl NetworkBehaviour for Notifications {
// If no connection is `OpenDesiredByRemote` anymore, clean up the
// peerset incoming request.
if no_desired_left {
// In the incoming state, we don't report "Dropped". Instead we will
// just ignore the corresponding Accept/Reject.
// In the incoming state, we don't report "Dropped" straight away.
// Instead we will report "Dropped" if receive the corresponding
// "Accept".
if let Some(state) = self
.incoming
.iter_mut()
Expand Down

0 comments on commit d055db2

Please sign in to comment.