Skip to content
Snippets Groups Projects
Commit c171284e authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

fix: use url parameter

parent 49516d76
No related branches found
No related tags found
No related merge requests found
...@@ -185,7 +185,7 @@ async fn main() -> Result<()> { ...@@ -185,7 +185,7 @@ async fn main() -> Result<()> {
println!("Account address: {}", account_id); 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 { if let Some(account_id) = &account_id {
let account = client let account = client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment