mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 13:31:04 +00:00
minor: fix misleading comment in Notifications (#14239)
This commit is contained in:
@@ -1235,8 +1235,9 @@ impl NetworkBehaviour for Notifications {
|
|||||||
// If no connection is `OpenDesiredByRemote` anymore, clean up the
|
// If no connection is `OpenDesiredByRemote` anymore, clean up the
|
||||||
// peerset incoming request.
|
// peerset incoming request.
|
||||||
if no_desired_left {
|
if no_desired_left {
|
||||||
// In the incoming state, we don't report "Dropped". Instead we will
|
// In the incoming state, we don't report "Dropped" straight away.
|
||||||
// just ignore the corresponding Accept/Reject.
|
// Instead we will report "Dropped" if receive the corresponding
|
||||||
|
// "Accept".
|
||||||
if let Some(state) = self
|
if let Some(state) = self
|
||||||
.incoming
|
.incoming
|
||||||
.iter_mut()
|
.iter_mut()
|
||||||
|
|||||||
Reference in New Issue
Block a user