Skip to content

Commit

Permalink
fix: consensus secrets generator (#2484)
Browse files Browse the repository at this point in the history
the output format didn't match the expected consensus_secrets.yaml
format.
  • Loading branch information
pompon0 authored Jul 25, 2024
1 parent 1c443e5 commit dea6969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/bin/external_node/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Option<ConsensusSecrets>> {
Expand Down

0 comments on commit dea6969

Please sign in to comment.