From af792eaa320967e1223cb9d0d48d475aa8e85073 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 12 Jun 2025 13:01:56 +0200 Subject: [PATCH] Bump `bitcoin` dependency requirement to v0.32.6 to reflect used API Starting with commit `f6fd9853e`, `bdk_wallet` makes use of `bitcoin::key::TweakedKeyPair::to_keypair` which was introduced with v0.32.6. Here, we adjust the minimum API requirement in `Cargo.toml`, as BDK 2.0.0 builds could otherwise fail with: ``` error[E0599]: no method named `to_keypair` found for struct `TweakedKeypair` in the current scope --> /home/tnull/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_wallet-2.0.0/src/wallet/signer.rs:580:14 | 578 | None => keypair | _________________- 579 | | .tap_tweak(secp, psbt_input.tap_merkle_root) 580 | | .to_keypair(), | | -^^^^^^^^^^ method not found in `TweakedKeypair` | |_____________| | For more information about this error, try `rustc --explain E0599`. ``` --- wallet/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/Cargo.toml b/wallet/Cargo.toml index a58e1d02..7b826270 100644 --- a/wallet/Cargo.toml +++ b/wallet/Cargo.toml @@ -18,7 +18,7 @@ workspace = true [dependencies] rand_core = { version = "0.6.0" } miniscript = { version = "12.3.1", features = [ "serde" ], default-features = false } -bitcoin = { version = "0.32.4", features = [ "serde", "base64" ], default-features = false } +bitcoin = { version = "0.32.6", features = [ "serde", "base64" ], default-features = false } serde = { version = "^1.0", features = ["derive"] } serde_json = { version = "^1.0" } bdk_chain = { version = "0.23.0", features = [ "miniscript", "serde" ], default-features = false }