Merge pull request #4646 from nymtech/jstuczyn-patch-1

bugfix: make sure to return an error on invalid public ip
This commit is contained in:
Jędrzej Stuczyński
2024-06-11 15:09:25 +02:00
committed by GitHub
+1 -1
View File
@@ -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?;