From 0cc4700bd67be84bb5cb0814bf5c8aa9fc3f3cdc Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Tue, 8 Mar 2022 20:02:47 -0600 Subject: [PATCH] Fix typo in CHANGELOG and doc in wallet/mod.rs --- CHANGELOG.md | 2 +- src/wallet/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)?;