Skip to content

Commit

Permalink
fix borked rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mfahampshire committed Jan 13, 2025
1 parent a83b7c6 commit 34891e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/client-core/src/init/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use futures::{SinkExt, StreamExt};
use log::{debug, info, trace, warn};
use nym_crypto::asymmetric::identity;
use nym_gateway_client::GatewayClient;
use nym_topology::gateway;
use nym_topology::node::RoutingNode;
use nym_validator_client::client::IdentityKeyRef;
use nym_validator_client::UserAgent;
Expand Down Expand Up @@ -92,7 +91,7 @@ pub async fn current_gateways<R: Rng>(
nym_apis: &[Url],
user_agent: Option<UserAgent>,
minimum_performance: u8,
) -> Result<Vec<gateway::LegacyNode>, ClientCoreError> {
) -> Result<Vec<RoutingNode>, ClientCoreError> {
let nym_api = nym_apis
.choose(rng)
.ok_or(ClientCoreError::ListOfNymApisIsEmpty)?;
Expand Down Expand Up @@ -344,3 +343,4 @@ pub(super) async fn register_with_gateway(
authenticated_ephemeral_client: gateway_client,
})
}

0 comments on commit 34891e8

Please sign in to comment.