Skip to content

Commit

Permalink
Update crates/orchestrator/src/generators/bootnode_addr.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Loris Moulin <[email protected]>
  • Loading branch information
pepoviola and l0r1s authored Sep 27, 2023
1 parent 04aab70 commit 369b8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/orchestrator/src/generators/bootnode_addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub fn generate(
args: &[&String],
p2p_cert: &Option<String>,
) -> Result<String, GeneratorError> {
let addr = if let Some(index) = args.iter().position(|arg| (*arg).eq("--lister-addr")) {
let addr = if let Some(index) = args.iter().position(|arg| (*arg).eq("--listen-addr")) {
let listen_value = args
.get(index + 1)
.ok_or(GeneratorError::BootnodeAddrGeneration(
Expand Down

0 comments on commit 369b8ae

Please sign in to comment.