Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Apr 5, 2024
1 parent 2b59620 commit 12f2545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl ElectrumD {

debug!("launching {:?} in {:?}", exe.as_ref(), datadir);
let process = Command::new(exe)
.args(&["daemon", "--dir", datadir.to_str().unwrap()])
.args(["daemon", "--dir", datadir.to_str().unwrap()])
.args(&[format!("--{}", conf.network)])
.args(&conf.args)
.stdout(stdout)
Expand All @@ -215,7 +215,7 @@ impl ElectrumD {
// Create and load the default wallet
let _wallet: Value = client.call("create", &noargs)?;
let _loaded: Value =
client.call("load_wallet", &arg(&json!({ "wallet_path": wallet_path })))?;
client.call("load_wallet", &arg(json!({ "wallet_path": wallet_path })))?;

Ok(ElectrumD {
process,
Expand Down

0 comments on commit 12f2545

Please sign in to comment.