From c171284e255ffc3f2946a48e5559ad6e1531b76f Mon Sep 17 00:00:00 2001 From: tuxmain <tuxmain@zettascript.org> Date: Fri, 16 Dec 2022 01:25:28 +0100 Subject: [PATCH] fix: use url parameter --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c8e3cc9..e9b40a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -185,7 +185,7 @@ async fn main() -> Result<()> { println!("Account address: {}", account_id); } - let client = Client::new().await?; + let client = Client::from_url(&args.url).await.unwrap(); if let Some(account_id) = &account_id { let account = client -- GitLab