From 684aa06e1386fcb5f157ad676c4481d8812a1dbf Mon Sep 17 00:00:00 2001 From: Nikolay Komarevskiy Date: Tue, 23 Jul 2024 13:36:30 +0200 Subject: [PATCH] Revert "chore: tmp enable fetch root key" This reverts commit fe39797feacadc9de64e6a8eee33a9355329c694. --- ic-agent/Cargo.toml | 2 +- .../src/agent/http_transport/dynamic_routing/nodes_fetch.rs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index 8cb649d1..fa0eb645 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ic-agent-with-discovery" +name = "ic-agent" version.workspace = true authors.workspace = true edition.workspace = true diff --git a/ic-agent/src/agent/http_transport/dynamic_routing/nodes_fetch.rs b/ic-agent/src/agent/http_transport/dynamic_routing/nodes_fetch.rs index 1e97374c..8cbdb474 100644 --- a/ic-agent/src/agent/http_transport/dynamic_routing/nodes_fetch.rs +++ b/ic-agent/src/agent/http_transport/dynamic_routing/nodes_fetch.rs @@ -65,9 +65,6 @@ impl Fetch for NodesFetcher { "Failed to build the agent: {err}" )) })?; - agent.fetch_root_key().await.map_err(|err| { - DynamicRouteProviderError::NodesFetchError(format!("Failed to fetch root key: {err}")) - })?; let api_bns = agent .fetch_api_boundary_nodes_by_subnet_id(self.subnet_id) .await