From: Vihiga Tyonum Date: Tue, 31 Mar 2026 21:13:40 +0000 (+0100) Subject: chore(update-deps): Fix clippy warnings X-Git-Url: http://internal-gitweb-vhost/blockdata/script/encode/-script/display/struct.CommandString.html?a=commitdiff_plain;h=3aa50416de33cb795210b71087da0c9682f90997;p=bdk-cli chore(update-deps): Fix clippy warnings --- diff --git a/src/handlers.rs b/src/handlers.rs index a6e4e29..1b75e35 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -888,7 +888,7 @@ pub(crate) async fn handle_online_wallet_subcommand( client .populate_tx_cache(wallet.tx_graph().full_txs().map(|tx_node| tx_node.tx)); - let update = client.full_scan(request, _stop_gap, batch_size, false)?; + let update = client.full_scan(request, _stop_gap, *batch_size, false)?; let wallet_events = wallet.apply_update_events(update)?; print_wallet_events(&wallet_events); } @@ -1836,7 +1836,7 @@ pub async fn sync_wallet(client: &BlockchainClient, wallet: &mut Wallet) -> Resu // already have. client.populate_tx_cache(wallet.tx_graph().full_txs().map(|tx_node| tx_node.tx)); - let update = client.sync(request, batch_size, false)?; + let update = client.sync(request, *batch_size, false)?; let wallet_events = wallet .apply_update_events(update) .map_err(|e| Error::Generic(e.to_string()))?;