Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions node/src/p2p.rs
Original file line number Diff line number Diff line change
@@ -612,10 +612,11 @@ where
let autonat = autonat::Behaviour::new(local_peer_id, autonat::Config::default());
let ping = ping::Behaviour::new(ping::Config::default());

let identify = identify::Behaviour::new(identify::Config::new(
String::new(),
args.local_keypair.public(),
));
let agent_version = format!("lumina/{}/{}", args.network_id, env!("CARGO_PKG_VERSION"));
let identify = identify::Behaviour::new(
identify::Config::new(String::new(), args.local_keypair.public())
.with_agent_version(agent_version),
);

let header_sub_topic = gossipsub_ident_topic(&args.network_id, "/header-sub/v0.0.1");
let bad_encoding_fraud_sub_topic =

0 comments on commit 0a0fbb3

Please sign in to comment.