From: BitcoinZavior Date: Mon, 30 Jan 2023 17:49:13 +0000 (-0500) Subject: Tweaks after testing with published package X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/struct.WalletChangeSet.html?a=commitdiff_plain;h=3e584268ac21ebfd5477943a53e3c6538a74fdce;p=bitcoindevkit.org Tweaks after testing with published package --- diff --git a/docs/tutorials/exploring_bdk_flutter.md b/docs/tutorials/exploring_bdk_flutter.md index 79e2a70215..7dbfbed29a 100644 --- a/docs/tutorials/exploring_bdk_flutter.md +++ b/docs/tutorials/exploring_bdk_flutter.md @@ -131,7 +131,7 @@ This will add a line like this to your package's `pubspec.yaml` and this will al ```shell dependencies: - bdk_flutter: 0.3.0 + bdk_flutter: ^0.3.0 ``` ## Configuring @@ -417,7 +417,7 @@ This descriptor will create receive (`KeyChainKind.External`) and change descrip Future> getDescriptors(String mnemonic) async { final descriptors = []; try { - for (var e in [KeyChainKind.External, KeyChainKind.Internal]) { + for (var e in [KeychainKind.External, KeychainKind.Internal]) { final mnemonicObj = await Mnemonic.fromString(mnemonic); final descriptorSecretKey = await DescriptorSecretKey.create( network: Network.Testnet, @@ -501,10 +501,11 @@ Let's add an internal method to create and initialize the `Blockchain` object. blockchain = await Blockchain.create( config: BlockchainConfig.electrum( config: ElectrumConfig( - stopGap: 10, - timeout: 5, - retry: 5, - url: "ssl://electrum.blockstream.info:60002"))); + stopGap: 10, + timeout: 5, + retry: 5, + url: "ssl://electrum.blockstream.info:60002", + validateDomain: false))); } ```