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

This commit is contained in:
Dmitry Markin authored and GitHub committed 2022-08-05 09:48:05 +00:00
1 parent 6eda842cf0
commit a1ee0fca0b
1 file changed
-2
-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.