Skip to content

Commit 6bf0a51

Browse files
newtonickreez
andauthored
comment on validate_domain parameter is checking if TLS is validated
Co-authored-by: Matthew Ramsden <6657488+reez@users.noreply.github.com>
1 parent 25939a4 commit 6bf0a51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bdk-ffi/src/electrum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub struct ElectrumClient(BdkBdkElectrumClient<bdk_electrum::electrum_client::Cl
2929
impl ElectrumClient {
3030
/// Creates a new bdk client from a electrum_client::ElectrumApi
3131
/// Optional: Set the proxy of the builder
32-
/// Optional: Set `validate_domain` to `false` to allow self-signed SSL certificates
32+
/// Optional: Set whether the server's TLS certificate is validated.
3333
#[uniffi::constructor(default(socks5 = None, validate_domain = true))]
3434
pub fn new(
3535
url: String,

0 commit comments

Comments
 (0)