From 8d93fad778565f44cbcc053c7f51fbc27bebf99a Mon Sep 17 00:00:00 2001 From: Jose Storopoli Date: Sun, 4 Feb 2024 06:13:40 -0300 Subject: [PATCH] chore: typos More caught on by Nix CI in #1257. --- crates/bdk/src/wallet/mod.rs | 2 +- crates/chain/src/persist.rs | 2 +- example-crates/wallet_rpc/README.md | 2 +- example-crates/wallet_rpc/src/main.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/bdk/src/wallet/mod.rs b/crates/bdk/src/wallet/mod.rs index c6c922d55..2555c9938 100644 --- a/crates/bdk/src/wallet/mod.rs +++ b/crates/bdk/src/wallet/mod.rs @@ -2473,7 +2473,7 @@ impl Wallet { /// This method takes in an iterator of `(tx, last_seen)` where `last_seen` is the timestamp of /// when the transaction was last seen in the mempool. This is used for conflict resolution /// when there is conflicting unconfirmed transactions. The transaction with the later - /// `last_seen` is prioritied. + /// `last_seen` is prioritized. pub fn apply_unconfirmed_txs<'t>( &mut self, unconfirmed_txs: impl IntoIterator, diff --git a/crates/chain/src/persist.rs b/crates/chain/src/persist.rs index c527e57d6..5ddd622a3 100644 --- a/crates/chain/src/persist.rs +++ b/crates/chain/src/persist.rs @@ -59,7 +59,7 @@ where /// Stages a new changeset and commits it (along with any other previously staged changes) to /// the persistence backend /// - /// Convience method for calling [`stage`] and then [`commit`]. + /// Convenience method for calling [`stage`] and then [`commit`]. /// /// [`stage`]: Self::stage /// [`commit`]: Self::commit diff --git a/example-crates/wallet_rpc/README.md b/example-crates/wallet_rpc/README.md index 0a2cc2946..03c1b0f56 100644 --- a/example-crates/wallet_rpc/README.md +++ b/example-crates/wallet_rpc/README.md @@ -4,7 +4,7 @@ $ cargo run --bin wallet_rpc -- --help wallet_rpc 0.1.0 -Bitcoind RPC example usign `bdk::Wallet` +Bitcoind RPC example using `bdk::Wallet` USAGE: wallet_rpc [OPTIONS] [CHANGE_DESCRIPTOR] diff --git a/example-crates/wallet_rpc/src/main.rs b/example-crates/wallet_rpc/src/main.rs index dc3b8bcdc..264204a71 100644 --- a/example-crates/wallet_rpc/src/main.rs +++ b/example-crates/wallet_rpc/src/main.rs @@ -12,7 +12,7 @@ use std::{path::PathBuf, sync::mpsc::sync_channel, thread::spawn, time::Instant} const DB_MAGIC: &str = "bdk-rpc-wallet-example"; -/// Bitcoind RPC example usign `bdk::Wallet`. +/// Bitcoind RPC example using `bdk::Wallet`. /// /// This syncs the chain block-by-block and prints the current balance, transaction count and UTXO /// count.