minor: fix misleading comment in Notifications (#14239)

This commit is contained in:
Dmitry Markin
2023-05-29 13:16:49 +03:00
committed by GitHub
parent 3c3105d2ae
commit ee3f2e1ebd
@@ -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()