Skip to content

Commit 65743ff

Browse files
authored
Derive network name from chain ID. (#4412)
1 parent 7285a2c commit 65743ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/espresso/node/src

crates/espresso/node/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ where
801801
// use. They should share a single lock so upgrade certificate updates
802802
// are visible to both.
803803
let cliquenet = Cliquenet::create(
804-
"espresso",
804+
&format!("espresso-{}", genesis.chain_config.chain_id),
805805
pub_key,
806806
network_params.x25519_secret_key.into(),
807807
network_params.cliquenet_bind_addr.clone(),

0 commit comments

Comments
 (0)