From 71e36065e55a5946f696115444b793ff12e09cc7 Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Mon, 26 Jul 2021 10:59:29 +0100 Subject: [PATCH] Using validator API instead of nymd (#690) --- gateway/src/node/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/src/node/mod.rs b/gateway/src/node/mod.rs index a9b7b473a5..7981b12030 100644 --- a/gateway/src/node/mod.rs +++ b/gateway/src/node/mod.rs @@ -139,7 +139,7 @@ impl Gateway { ); let validator_client = validator_client::Client::new(validator_client_config); - let existing_gateways = match validator_client.get_gateways().await { + let existing_gateways = match validator_client.get_cached_gateways().await { Ok(gateways) => gateways, Err(err) => { error!("failed to grab initial network gateways - {}\n Please try to startup again in few minutes", err);