Skip to content

Commit 169890f

Browse files
committed
CI: Fix clippy issues
1 parent c5414dd commit 169890f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/handlers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,7 @@ pub fn handle_wallets_subcommand(datadir: &Path, pretty: bool) -> Result<String,
11561156
.wallets
11571157
.iter()
11581158
.map(|(name, wallet_config)| {
1159+
#[allow(unused_mut)]
11591160
let mut wallet_json = json!({
11601161
"name": name,
11611162
"network": wallet_config.network,

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub(crate) fn new_blockchain_client(
187187
}
188188
#[cfg(feature = "esplora")]
189189
ClientType::Esplora => {
190-
let client = bdk_esplora::esplora_client::Builder::new(&url).build_async()?;
190+
let client = bdk_esplora::esplora_client::Builder::new(url).build_async()?;
191191
BlockchainClient::Esplora {
192192
client: Box::new(client),
193193
parallel_requests: wallet_opts.parallel_requests,

0 commit comments

Comments
 (0)