We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93610d commit d18f668Copy full SHA for d18f668
src/utils.rs
@@ -161,7 +161,9 @@ pub(crate) fn new_blockchain_client(
161
let client = match wallet_opts.client_type {
162
#[cfg(feature = "electrum")]
163
ClientType::Electrum => {
164
- let config = ConfigBuilder::new().validate_domain(true).build();
+ let config = ConfigBuilder::new()
165
+ .validate_domain(wallet_opts.validate_domain)
166
+ .build();
167
let client = bdk_electrum::electrum_client::Client::from_config(url, config)
168
.map(bdk_electrum::BdkElectrumClient::new)?;
169
BlockchainClient::Electrum {
0 commit comments