From 1803f5ea8a7a2f8f9ebdfa520baad91f84bd6ba0 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Wed, 16 Feb 2022 17:08:25 +0100 Subject: [PATCH] Update `electrsd` to v0.15 --- Cargo.toml | 2 +- src/testutils/blockchain_tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3a470dc2..e658c79b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -96,7 +96,7 @@ test-md-docs = ["electrum"] lazy_static = "1.4" env_logger = "0.7" clap = "2.33" -electrsd = { version= "0.13", features = ["trigger", "bitcoind_22_0"] } +electrsd = { version= "0.15", features = ["trigger", "bitcoind_22_0"] } [[example]] name = "address_validator" diff --git a/src/testutils/blockchain_tests.rs b/src/testutils/blockchain_tests.rs index 6ac91e88..15f8a75d 100644 --- a/src/testutils/blockchain_tests.rs +++ b/src/testutils/blockchain_tests.rs @@ -320,7 +320,7 @@ impl Default for TestClient { fn default() -> Self { let bitcoind_exe = env::var("BITCOIND_EXE") .ok() - .or(bitcoind::downloaded_exe_path()) + .or(bitcoind::downloaded_exe_path().ok()) .expect( "you should provide env var BITCOIND_EXE or specifiy a bitcoind version feature", );