mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +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
|
||||
// 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()
|
||||
|
||||
Reference in New Issue
Block a user