diff --git a/nym-gateway-directory/Cargo.toml b/nym-gateway-directory/Cargo.toml index 6a875cb423..fb4ccf68c1 100644 --- a/nym-gateway-directory/Cargo.toml +++ b/nym-gateway-directory/Cargo.toml @@ -15,8 +15,8 @@ nym-common = { git = "https://github.com/nymtech/nym-vpn-client/", rev = "c7e38a nym-http-api-client = { path = "../common/http-api-client" } nym-offline-monitor = { git = "https://github.com/nymtech/nym-vpn-client/", rev = "c7e38aae038748f7d577a8b1ae02931fff97e868" } # nym-vpn-core 1.11.0 nym-vpn-api-client = { git = "https://github.com/nymtech/nym-vpn-client/", rev = "c7e38aae038748f7d577a8b1ae02931fff97e868" } # nym-vpn-core 1.11.0 -nym-sphinx = { path = "../common/nymsphinx" } # replaces the types pulled in from nym-sdk -nym-topology = { path = "../common/topology" } # replaces the types pulled in from nym-sdk +nym-sphinx = { path = "../common/nymsphinx" } # replaces the types pulled in from nym-sdk in nym-vpn-client repo +nym-topology = { path = "../common/topology" } # replaces the types pulled in from nym-sdk in nym-vpn-client repo nym-validator-client = { path = "../common/client-libs/validator-client" } nym-crypto = { path = "../common/crypto", features = [ "rand", diff --git a/nym-gateway-directory/src/gateway_client.rs b/nym-gateway-directory/src/gateway_client.rs index d466d596a3..d06bca4ffb 100644 --- a/nym-gateway-directory/src/gateway_client.rs +++ b/nym-gateway-directory/src/gateway_client.rs @@ -6,21 +6,20 @@ use std::{ net::{IpAddr, SocketAddr}, }; -// pub use ::UserAgent use nym_http_api_client::UserAgent; -use nym_validator_client::{NymApiClient, models::NymNodeDescription, nym_nodes::SkimmedNode}; +use nym_validator_client::{models::NymNodeDescription, nym_nodes::SkimmedNode, NymApiClient}; use nym_vpn_api_client::types::{GatewayMinPerformance, Percent, ScoreThresholds}; use rand::{prelude::SliceRandom, thread_rng}; use tracing::{debug, error, warn}; use url::Url; use crate::{ - Error, NymNode, entries::{ country::Country, gateway::{Gateway, GatewayList, GatewayType, NymNodeList}, }, error::Result, + Error, NymNode, }; #[derive(Clone, Debug)]