From ea4c8e5d9e908d45147689e90df2604d30742c61 Mon Sep 17 00:00:00 2001 From: Nikolay Komarevskiy Date: Tue, 16 Jul 2024 10:15:50 +0200 Subject: [PATCH] chore: remove fetch_root_key() call --- .../src/agent/http_transport/dynamic_routing/nodes_fetch.rs | 4 ---- 1 file changed, 4 deletions(-) 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 9f81a401..d9516bb5 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 @@ -55,10 +55,6 @@ impl Fetch for NodesFetcher { .with_transport(transport) .build() .with_context(|| "Failed to build an agent: {err}")?; - agent - .fetch_root_key() - .await - .with_context(|| "Failed to fetch root key: {err}")?; let api_bns = agent .fetch_api_boundary_nodes_by_subnet_id(self.subnet_id) .await?;