Merge bitcoindevkit/bdk#1529: fix: typos

a8efeaa0fb83848a04e7324311ccaca4e2c4ab71 fix: typos (Jose Storopoli)

Pull request description:

  ### Description

  Needed for the typos nix check in #1320.

  ### Notes to the reviewers

  More typos that the Nix CI caught.

  ### Changelog notice

  - fix: typos

  ### Checklists

  #### All Submissions:

  * [x] I've signed all my commits
  * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
  * [x] I ran `cargo fmt` and `cargo clippy` before committing

  #### New Features:

  * [ ] I've added tests for the new feature
  * [ ] I've added docs for the new feature

  #### Bugfixes:

  * [ ] This pull request breaks the existing API
  * [ ] I've added tests to reproduce the issue which are now passing
  * [ ] I'm linking the issue being fixed by this PR

ACKs for top commit:
  notmandatory:
    ACK a8efeaa0fb83848a04e7324311ccaca4e2c4ab71

Tree-SHA512: 44a625bcf538acb7a766316f1d512ef3fd7cc14aae03f09b129229946ef156be35dff73dab3dc24fbc21137764b5707a2bd632bfb84b38dc9fe4d061659ac766
This commit is contained in:
Steve Myers 2024-07-31 21:54:14 -05:00
commit 18626c66ac
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ impl<T> Persisted<T> {
Ok(T::load(db, params)?.map(|inner| Self { inner }))
}
/// Contruct a persisted `T` from an async `Db`.
/// Construct a persisted `T` from an async `Db`.
pub async fn load_async<Db>(
db: &mut Db,
params: T::LoadParams,

View File

@ -150,7 +150,7 @@ impl LoadParams {
}
/// Checks that `descriptor` of `keychain` matches this, and extracts private keys (if
/// avaliable).
/// available).
pub fn descriptors<D>(mut self, descriptor: D, change_descriptor: D) -> Self
where
D: IntoWalletDescriptor + 'static,

View File

@ -154,7 +154,7 @@ impl<E: fmt::Debug + fmt::Display> std::error::Error for LoadWithPersistError<E>
pub enum CreateWithPersistError<E> {
/// Error from persistence.
Persist(E),
/// Occurs when the loaded changeset cannot contruct [`Wallet`].
/// Occurs when the loaded changeset cannot construct [`Wallet`].
Descriptor(DescriptorError),
}