From dea6969d1b67c54a0985278de68a8d50f1084dc1 Mon Sep 17 00:00:00 2001 From: pompon0 Date: Thu, 25 Jul 2024 10:00:08 +0200 Subject: [PATCH] fix: consensus secrets generator (#2484) the output format didn't match the expected consensus_secrets.yaml format. --- core/bin/external_node/src/config/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/bin/external_node/src/config/mod.rs b/core/bin/external_node/src/config/mod.rs index 120df5f139fa..5674396652f4 100644 --- a/core/bin/external_node/src/config/mod.rs +++ b/core/bin/external_node/src/config/mod.rs @@ -1136,11 +1136,11 @@ pub fn generate_consensus_secrets() { let attester_key = roles::attester::SecretKey::generate(); let node_key = roles::node::SecretKey::generate(); println!("# {}", validator_key.public().encode()); - println!("- validator_key: {}", validator_key.encode()); + println!("validator_key: {}", validator_key.encode()); println!("# {}", attester_key.public().encode()); - println!("- attester_key: {}", attester_key.encode()); + println!("attester_key: {}", attester_key.encode()); println!("# {}", node_key.public().encode()); - println!("- node_key: {}", node_key.encode()); + println!("node_key: {}", node_key.encode()); } pub(crate) fn read_consensus_secrets() -> anyhow::Result> {