Return ipv6 addresses as well (#6684)

* Return ipv6 addresses as well

* Fix clippy

* Bump NS API version
This commit is contained in:
dynco-nym
2026-04-17 13:42:48 +02:00
committed by GitHub
parent ad56645fc5
commit 534a5068d3
3 changed files with 3 additions and 4 deletions
Generated
+1 -1
View File
@@ -7558,7 +7558,7 @@ dependencies = [
[[package]]
name = "nym-node-status-api"
version = "4.5.0"
version = "4.6.0"
dependencies = [
"ammonia",
"anyhow",
@@ -3,7 +3,7 @@
[package]
name = "nym-node-status-api"
version = "4.5.0"
version = "4.6.0"
authors.workspace = true
repository.workspace = true
homepage.workspace = true
@@ -9,7 +9,7 @@ use nym_node_status_client::auth::VerifiableRequest;
use nym_validator_client::nym_api::SkimmedNodeV1;
use semver::Version;
use serde::{Deserialize, Serialize};
use std::{collections::HashMap, net::IpAddr, sync::Arc, time::Duration};
use std::{collections::HashMap, sync::Arc, time::Duration};
use time::UtcDateTime;
use tokio::sync::RwLock;
use tracing::{error, instrument, trace, warn};
@@ -456,7 +456,6 @@ impl HttpCache {
.await
.into_iter()
.flat_map(|gw| gw.ip_addresses)
.filter(IpAddr::is_ipv4)
.map(|ip| ip.to_string())
.sorted()
.dedup()