Skip to content

Commit

Permalink
discovery: Remove ref to git issue
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv committed Oct 17, 2024
1 parent e94f4d2 commit 87d3c2d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions substrate/client/network/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,6 @@ pub struct DiscoveryBehaviour {
/// to these peers.
records_to_publish: HashMap<QueryId, Record>,
/// 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:
/// <https://github.com/paritytech/polkadot-sdk/issues/504>.
kademlia_protocol: Option<StreamProtocol>,
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 87d3c2d

Please sign in to comment.