Skip to content

Commit

Permalink
post rebase fixes + clippy
Browse files Browse the repository at this point in the history
I know, I should have probably included them properly during rebasing ¯\_(ツ)_/¯
  • Loading branch information
jstuczyn committed Feb 21, 2023
1 parent a84ee48 commit 3bb0500
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/client-core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

use gateway_client::error::GatewayClientError;
use nym_crypto::asymmetric::identity::Ed25519RecoveryError;
use nym_topology::gateway::GatewayConversionError;
use nym_topology::NymTopologyError;
use topology::gateway::GatewayConversionError;
use validator_client::ValidatorClientError;

#[derive(thiserror::Error, Debug)]
Expand Down
7 changes: 1 addition & 6 deletions clients/client-core/src/init/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use nym_topology::{filter::VersionFilterable, gateway};
use rand::{seq::SliceRandom, thread_rng, Rng};
use std::{sync::Arc, time::Duration};
use tap::TapFallible;
use topology::{filter::VersionFilterable, gateway};
use tungstenite::Message;
use url::Url;

Expand Down Expand Up @@ -139,11 +138,7 @@ async fn measure_latency(gateway: gateway::Node) -> Result<GatewayWithLatency, C
_ = &mut timeout => {
warn!("timed out while trying to perform measurement...")
}
res = measurement_future => {
if let Err(err) = res {
return Err(err)
}
}
res = measurement_future => res?,
}
}

Expand Down

0 comments on commit 3bb0500

Please sign in to comment.