Revert "Add hack for working with old nym gateways"

This reverts commit 7129de4373.
To avoid breaking wss
This commit is contained in:
Sebastian Martinez
2023-11-01 13:28:49 +01:00
parent 1370192823
commit 784ee5ace8
2 changed files with 2 additions and 2 deletions
@@ -69,7 +69,7 @@ impl NymApiTopologyProvider {
Ok(mixes) => mixes,
};
let gateways = match self.validator_client.get_cached_gateways().await {
let gateways = match self.validator_client.get_cached_described_gateways().await {
Err(err) => {
error!("failed to get network gateways - {err}");
return None;
+1 -1
View File
@@ -67,7 +67,7 @@ pub async fn current_gateways<R: Rng>(
log::trace!("Fetching list of gateways from: {nym_api}");
let gateways = client.get_cached_gateways().await?;
let gateways = client.get_cached_described_gateways().await?;
let valid_gateways = gateways
.into_iter()
.filter_map(|gateway| gateway.try_into().ok())