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

Commit

Permalink
sync protocol now can have negotiated fallback name (paritytech#11982)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-markin authored and DaviRain-Su committed Aug 23, 2022
1 parent 5dcf11f commit ccdc651
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/network/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1577,8 +1577,6 @@ where
} => {
// Set number 0 is hardcoded the default set of peers we sync from.
if set_id == HARDCODED_PEERSETS_SYNC {
debug_assert!(negotiated_fallback.is_none());

// `received_handshake` can be either a `Status` message if received from the
// legacy substream ,or a `BlockAnnouncesHandshake` if received from the block
// announces substream.
Expand Down

0 comments on commit ccdc651

Please sign in to comment.