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

Commit 84bbb76

Browse files
minor: fix misleading comment in Notifications (#14239)
1 parent f3b12d9 commit 84bbb76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

client/network/src/protocol/notifications/behaviour.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,8 +1235,9 @@ impl NetworkBehaviour for Notifications {
12351235
// If no connection is `OpenDesiredByRemote` anymore, clean up the
12361236
// peerset incoming request.
12371237
if no_desired_left {
1238-
// In the incoming state, we don't report "Dropped". Instead we will
1239-
// just ignore the corresponding Accept/Reject.
1238+
// In the incoming state, we don't report "Dropped" straight away.
1239+
// Instead we will report "Dropped" if receive the corresponding
1240+
// "Accept".
12401241
if let Some(state) = self
12411242
.incoming
12421243
.iter_mut()

0 commit comments

Comments
 (0)