use electrsd with feature to download the binary

This commit is contained in:
Riccardo Casatta
2021-06-28 15:04:17 +02:00
parent 8e41c4587d
commit a6be470fe4
7 changed files with 35 additions and 82 deletions

View File

@@ -170,7 +170,7 @@ impl ConfigurableBlockchain for ElectrumBlockchain {
}
#[cfg(test)]
#[cfg(feature = "test-blockchains")]
#[cfg(feature = "test-electrum")]
crate::bdk_blockchain_tests! {
fn test_instance(test_client: &TestClient) -> ElectrumBlockchain {
ElectrumBlockchain::from(Client::new(&test_client.electrsd.electrum_url).unwrap())