]> Untitled Git - bdk/commitdiff
Fix typo in CHANGELOG and doc in wallet/mod.rs
authorSteve Myers <steve@notmandatory.org>
Wed, 9 Mar 2022 02:02:47 +0000 (20:02 -0600)
committerSteve Myers <steve@notmandatory.org>
Wed, 9 Mar 2022 02:02:47 +0000 (20:02 -0600)
CHANGELOG.md
src/wallet/mod.rs

index a82e1e038f0d427be8d3f545bb3cd0423fc5aab1..9ca6b8d5c6cf6583ec20de1ffa8f0ddc3bb00660 100644 (file)
@@ -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`.
index 5ee2b9a4eb25ab10a7af890d4f9a4063084f4f23..fd105478072819cbefffa8c99740c028bb259489 100644 (file)
@@ -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<AddressInfo, Error> {
         let incremented_index = self.fetch_and_increment_index(keychain)?;