From 07d931f5c9ae731881bbad01dd536e6a3c64052f Mon Sep 17 00:00:00 2001 From: Vihiga Tyonum Date: Mon, 16 Sep 2024 09:15:48 +0100 Subject: [PATCH] Refactor: replace bitcoin with bdk_chain::bitcoin replace external crate `bitcoin` with re-exported `bdk_chain::bitcoin` [Ticket: #1602] --- crates/testenv/Cargo.toml | 1 - crates/testenv/src/tx_utils.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/testenv/Cargo.toml b/crates/testenv/Cargo.toml index c4c941ef8..98afa8d00 100644 --- a/crates/testenv/Cargo.toml +++ b/crates/testenv/Cargo.toml @@ -18,7 +18,6 @@ workspace = true [dependencies] bdk_chain = { path = "../chain", version = "0.19.0", default-features = false } electrsd = { version = "0.28.0", features = [ "bitcoind_25_0", "esplora_a33e97e1", "legacy" ] } -bitcoin = { version = "0.32.0", default-features = false } [features] default = ["std"] diff --git a/crates/testenv/src/tx_utils.rs b/crates/testenv/src/tx_utils.rs index 656f46c40..561337af8 100644 --- a/crates/testenv/src/tx_utils.rs +++ b/crates/testenv/src/tx_utils.rs @@ -1,3 +1,5 @@ +use bdk_chain::bitcoin; + #[allow(unused_macros)] #[macro_export] macro_rules! block_id {