]> Untitled Git - bdk/commitdiff
fix(electrum): clippy warnings
authorLeonardo Lima <oleonardolima@users.noreply.github.com>
Tue, 23 Sep 2025 00:21:25 +0000 (10:21 +1000)
committerLeonardo Lima <oleonardolima@users.noreply.github.com>
Thu, 9 Oct 2025 04:29:11 +0000 (15:29 +1100)
crates/electrum/tests/test_electrum.rs

index ec226ab61f060cb0d31bc3c807c18996c612608e..a47e6c61eb488edfd7b877b2cf2ade87e65f378e 100644 (file)
@@ -71,7 +71,7 @@ where
     if let Some(chain_update) = update.chain_update.clone() {
         let _ = chain
             .apply_update(chain_update)
-            .map_err(|err| anyhow::anyhow!("LocalChain update error: {:?}", err))?;
+            .map_err(|err| anyhow::anyhow!("LocalChain update error: {err:?}"))?;
     }
     let _ = graph.apply_update(update.tx_update.clone());