Skip to content

Commit

Permalink
Update crates/configuration/src/network.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Javier Viola <[email protected]>
  • Loading branch information
ozgunozerk and pepoviola authored Sep 26, 2024
1 parent 8721d64 commit 4e96493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/configuration/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ impl NetworkConfigBuilder<Initial> {
}

if relay_name.is_empty() {
errors.push(ConfigError::Relaychain(anyhow!("relaychain name can't be empty")).into());
errors.push(ConfigError::Relaychain("relaychain name can't be empty").into());
}

let network_config = NetworkConfigBuilder::new().with_relaychain(|relaychain| {
Expand Down

0 comments on commit 4e96493

Please sign in to comment.