]> 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>
Tue, 23 Sep 2025 00:21:25 +0000 (10:21 +1000)
crates/electrum/tests/test_electrum.rs

index 7fcf5d801176a2cd845961c20284ccfb25665d2d..d374e1f2e1e9707c69a71c9ae6e87fffa2cedd1f 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());