Fix typo in CHANGELOG and doc in wallet/mod.rs

This commit is contained in:
Steve Myers 2022-03-08 20:02:47 -06:00
parent 660faab1e2
commit 0cc4700bd6
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
2 changed files with 2 additions and 2 deletions

View 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`.

View 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)?;