Skip to content

Commit 0cc4700

Browse files
committed
Fix typo in CHANGELOG and doc in wallet/mod.rs
1 parent 660faab commit 0cc4700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To decouple the `Wallet` from the `Blockchain` we've made major changes:
1717

1818
- Removed `Blockchain` from Wallet.
1919
- Removed `Wallet::broadcast` (just use `Blockchain::broadcast`)
20-
- Depreciated `Wallet::new_offline` (all wallets are offline now)
20+
- Deprecated `Wallet::new_offline` (all wallets are offline now)
2121
- Changed `Wallet::sync` to take a `Blockchain`.
2222
- Stop making a request for the block height when calling `Wallet:new`.
2323
- Added `SyncOptions` to capture extra (future) arguments to `Wallet::sync`.

Diff for: src/wallet/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ where
233233
self.network
234234
}
235235

236-
// Return a newly derived address using the external descriptor
236+
// Return a newly derived address for the specified `keychain`.
237237
fn get_new_address(&self, keychain: KeychainKind) -> Result<AddressInfo, Error> {
238238
let incremented_index = self.fetch_and_increment_index(keychain)?;
239239

0 commit comments

Comments
 (0)