Using validator API instead of nymd (#690)

This commit is contained in:
Dave Hrycyszyn
2021-07-26 10:59:29 +01:00
committed by GitHub
parent 389d1ba3b9
commit 71e36065e5
+1 -1
View File
@@ -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);