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 80e132f commit 31a3fbfCopy full SHA for 31a3fbf
src/utils.rs
@@ -159,7 +159,9 @@ pub(crate) fn new_blockchain_client(
159
let client = match wallet_opts.client_type {
160
#[cfg(feature = "electrum")]
161
ClientType::Electrum => {
162
- let config = ConfigBuilder::new().validate_domain(true).build();
+ let config = ConfigBuilder::new()
163
+ .validate_domain(wallet_opts.validate_domain)
164
+ .build();
165
let client = bdk_electrum::electrum_client::Client::from_config(url, config)
166
.map(bdk_electrum::BdkElectrumClient::new)?;
167
BlockchainClient::Electrum {
0 commit comments