Skip to content

Commit

Permalink
Update Protocol Name
Browse files Browse the repository at this point in the history
  • Loading branch information
hmzakhalid committed Dec 12, 2024
1 parent 5110189 commit 9aa8b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ciphernode/net/src/network_peer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ fn create_mdns_kad_behaviour(
) -> std::result::Result<NodeBehaviour, Box<dyn std::error::Error + Send + Sync + 'static>> {
let connection_limits = connection_limits::Behaviour::new(ConnectionLimits::default());
let identify_config = IdentifyBehaviour::new(
identify::Config::new("/ipfs/kad/1.0.0".into(), key.public())
identify::Config::new("/kad/1.0.0".into(), key.public())
.with_interval(Duration::from_secs(60)),
);
let kad_config = kad::Config::new(StreamProtocol::new("/ipfs/kad/1.0.0"));
let kad_config = kad::Config::new(StreamProtocol::new("/kad/1.0.0"));

let message_id_fn = |message: &gossipsub::Message| {
let mut s = DefaultHasher::new();
Expand Down

0 comments on commit 9aa8b0a

Please sign in to comment.