From 01553930fe24f9ef69f3624193488247370e3d0a Mon Sep 17 00:00:00 2001 From: David Craven Date: Mon, 10 Apr 2023 17:15:35 +0200 Subject: [PATCH] Fix example. --- rosetta-client/Cargo.toml | 2 +- rosetta-client/examples/voting_contract.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rosetta-client/Cargo.toml b/rosetta-client/Cargo.toml index bf3754e0..9608920f 100644 --- a/rosetta-client/Cargo.toml +++ b/rosetta-client/Cargo.toml @@ -8,7 +8,6 @@ license = "MIT" [dependencies] anyhow = "1.0.69" -clap = "4.1.8" dirs-next = "2.0.0" fraction = { version = "0.13.1", default-features = false, features = ["with-bigint", "with-decimal"] } futures = "0.3.26" @@ -32,5 +31,6 @@ wasm-bindgen = "0.2.84" web-sys = { version = "0.3.61", features = ["Storage", "Window"] } [dev-dependencies] +clap = { version = "4.1.8", features = ["derive"] } surf = { version = "2.3.2", features = ["h1-client-rustls"], default-features = false } tokio = { version = "1.27.0", features = ["rt-multi-thread", "macros"] } diff --git a/rosetta-client/examples/voting_contract.rs b/rosetta-client/examples/voting_contract.rs index a1c9f3eb..31cfea59 100644 --- a/rosetta-client/examples/voting_contract.rs +++ b/rosetta-client/examples/voting_contract.rs @@ -23,7 +23,7 @@ async fn main() { let wallet = create_wallet( Some("ethereum".to_owned()), Some("dev".to_owned()), - Some("http://127.0.0.1:8081".to_owned()), + Some("http://rosetta.analog.one:8081".to_owned()), None, ) .await