Skip to content

Commit

Permalink
Merge #1529: fix: typos
Browse files Browse the repository at this point in the history
a8efeaa 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 a8efeaa

Tree-SHA512: 44a625bcf538acb7a766316f1d512ef3fd7cc14aae03f09b129229946ef156be35dff73dab3dc24fbc21137764b5707a2bd632bfb84b38dc9fe4d061659ac766
  • Loading branch information
notmandatory committed Aug 1, 2024
2 parents 82141a8 + a8efeaa commit 18626c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/chain/src/persist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion crates/wallet/src/wallet/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion crates/wallet/src/wallet/persisted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}

Expand Down

0 comments on commit 18626c6

Please sign in to comment.