Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 27dd695

Browse files
committed
fix: Update admin endpoint
Signed-off-by: Dan Sover <[email protected]>
1 parent 8a4df4e commit 27dd695

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "avalanche-types"
3-
version = "0.0.393" # https://crates.io/crates/avalanche-types
3+
version = "0.0.394" # https://crates.io/crates/avalanche-types
44
edition = "2021"
55
rust-version = "1.69" # use "rustup override set stable" to overwrite current toolchain
66
publish = true

src/jsonrpc/client/admin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ pub async fn alias_chain(
2424

2525
let u = if let Some(scheme) = scheme {
2626
if let Some(port) = port {
27-
format!("{scheme}://{host}:{port}/ext/info")
27+
format!("{scheme}://{host}:{port}/ext/admin")
2828
} else {
29-
format!("{scheme}://{host}/ext/info")
29+
format!("{scheme}://{host}/ext/admin")
3030
}
3131
} else {
32-
format!("http://{host}/ext/info")
32+
format!("http://{host}/ext/admin")
3333
};
3434
log::info!("getting network name for {u}");
3535

0 commit comments

Comments
 (0)