From 87d3c2d0da1af03c8358d4ad5e35c200079d6e64 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Thu, 17 Oct 2024 13:19:07 +0000 Subject: [PATCH] discovery: Remove ref to git issue Signed-off-by: Alexandru Vasile --- substrate/client/network/src/discovery.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/substrate/client/network/src/discovery.rs b/substrate/client/network/src/discovery.rs index 9a58ab367493..5aea3ce15c20 100644 --- a/substrate/client/network/src/discovery.rs +++ b/substrate/client/network/src/discovery.rs @@ -319,9 +319,6 @@ pub struct DiscoveryBehaviour { /// to these peers. records_to_publish: HashMap, /// The chain based kademlia protocol name (including genesis hash and fork id). - /// - /// Remove when all nodes are upgraded to genesis hash and fork ID-based Kademlia: - /// . kademlia_protocol: Option, } @@ -381,10 +378,6 @@ impl DiscoveryBehaviour { } // The supported protocols must include the chain-based Kademlia protocol. - // - // Extract the chain-based Kademlia protocol from `kademlia.protocol_name()` - // when all nodes are upgraded to genesis hash and fork ID-based Kademlia: - // https://github.com/paritytech/polkadot-sdk/issues/504. if !supported_protocols.iter().any(|p| { p == self .kademlia_protocol