diff --git a/Cargo.lock b/Cargo.lock index 855ed6fd..21aa74b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2034,7 +2034,6 @@ dependencies = [ "base64 0.21.7", "bip39", "bitcoincore-rpc", - "bitcoind", "electrum-client", "elements", "elements-miniscript", diff --git a/lwk_wollet/Cargo.toml b/lwk_wollet/Cargo.toml index 3e114bd0..443a5405 100644 --- a/lwk_wollet/Cargo.toml +++ b/lwk_wollet/Cargo.toml @@ -73,7 +73,6 @@ tokio = { version = "1.36.0", features = ["rt", "macros", "rt-multi-thread"] } waterfalls = { version = "0.4.2", default-features = false, features = [ "test_env", ] } -bitcoind = { version = "0.36" } # TODO: remove once we're able to broadcast through waterfalls [features] default = ["esplora", "electrum", "elements_rpc"] diff --git a/lwk_wollet/tests/e2e.rs b/lwk_wollet/tests/e2e.rs index ca39abf0..b1c2e524 100644 --- a/lwk_wollet/tests/e2e.rs +++ b/lwk_wollet/tests/e2e.rs @@ -1657,26 +1657,7 @@ fn test_waterfalls_esplora() { let rt = tokio::runtime::Runtime::new().unwrap(); let exe = std::env::var("ELEMENTSD_EXEC").unwrap(); - // Launch waterfalls with node otherwise it attempt to broadcast to the esplora testnet - // instance. - // TODO: remove bitcoind test dep - // let test_env = rt.block_on(waterfalls::test_env::launch(exe)); - let mut conf = bitcoind::Conf::default(); - let args = vec![ - "-fallbackfee=0.0001", - "-dustrelayfee=0.00000001", - "-chain=liquidregtest", - "-initialfreecoins=2100000000", - "-validatepegin=0", - "-txindex=1", - "-rest=1", - ]; - conf.args = args; - conf.view_stdout = std::env::var("RUST_LOG").is_ok(); - conf.network = "liquidregtest"; - - let elementsd = bitcoind::BitcoinD::with_conf(exe, &conf).unwrap(); - let test_env = rt.block_on(waterfalls::test_env::launch_with_node(elementsd)); + let test_env = rt.block_on(waterfalls::test_env::launch(exe)); let url = format!("{}/blocks/tip/hash", test_env.base_url()); let _r = reqwest::blocking::get(url).unwrap().text().unwrap();