Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[minor] Fix misleading comment in Notifications #14239

Merged
merged 1 commit into from
May 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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