From 97693877307281509523dd5c07b74ef7d1a3a60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Tue, 11 Jun 2024 13:58:25 +0100 Subject: [PATCH] bugfix: make sure to return an error on invalid public ip --- nym-node/src/cli/commands/run/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nym-node/src/cli/commands/run/mod.rs b/nym-node/src/cli/commands/run/mod.rs index 5e06ea442c..97356de0fd 100644 --- a/nym-node/src/cli/commands/run/mod.rs +++ b/nym-node/src/cli/commands/run/mod.rs @@ -77,7 +77,7 @@ pub(crate) async fn execute(mut args: Args) -> Result<(), NymNodeError> { if config.host.public_ips.is_empty() { return Err(NymNodeError::NoPublicIps); } - check_public_ips(&config.host.public_ips, local); + check_public_ips(&config.host.public_ips, local)?; let nym_node = NymNode::new(config).await?;