From: Steve Myers Date: Wed, 9 Mar 2022 02:02:47 +0000 (-0600) Subject: Fix typo in CHANGELOG and doc in wallet/mod.rs X-Git-Tag: v0.17.0~3^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CannotConnectError.html?a=commitdiff_plain;h=0cc4700bd67be84bb5cb0814bf5c8aa9fc3f3cdc;p=bdk Fix typo in CHANGELOG and doc in wallet/mod.rs --- diff --git a/CHANGELOG.md b/CHANGELOG.md index a82e1e03..9ca6b8d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ To decouple the `Wallet` from the `Blockchain` we've made major changes: - Removed `Blockchain` from Wallet. - Removed `Wallet::broadcast` (just use `Blockchain::broadcast`) -- Depreciated `Wallet::new_offline` (all wallets are offline now) +- Deprecated `Wallet::new_offline` (all wallets are offline now) - Changed `Wallet::sync` to take a `Blockchain`. - Stop making a request for the block height when calling `Wallet:new`. - Added `SyncOptions` to capture extra (future) arguments to `Wallet::sync`. diff --git a/src/wallet/mod.rs b/src/wallet/mod.rs index 5ee2b9a4..fd105478 100644 --- a/src/wallet/mod.rs +++ b/src/wallet/mod.rs @@ -233,7 +233,7 @@ where self.network } - // Return a newly derived address using the external descriptor + // Return a newly derived address for the specified `keychain`. fn get_new_address(&self, keychain: KeychainKind) -> Result { let incremented_index = self.fetch_and_increment_index(keychain)?;