Skip to content

Commit fe39797

Browse files
chore: tmp enable fetch root key
1 parent e0ba859 commit fe39797

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ic-agent/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "ic-agent"
2+
name = "ic-agent-with-discovery"
33
version.workspace = true
44
authors.workspace = true
55
edition.workspace = true

ic-agent/src/agent/http_transport/dynamic_routing/nodes_fetch.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ impl Fetch for NodesFetcher {
6565
"Failed to build the agent: {err}"
6666
))
6767
})?;
68+
agent.fetch_root_key().await.map_err(|err| {
69+
DynamicRouteProviderError::NodesFetchError(format!("Failed to fetch root key: {err}"))
70+
})?;
6871
let api_bns = agent
6972
.fetch_api_boundary_nodes_by_subnet_id(self.subnet_id)
7073
.await

0 commit comments

Comments
 (0)