sync protocol now can have negotiated fallback name (#11982)

This commit is contained in:
Dmitry Markin
2022-08-05 12:48:05 +03:00
committed by GitHub
parent 6eda842cf0
commit a1ee0fca0b
-2
View File
@@ -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.