]> Untitled Git - bdk/commitdiff
chore: typos
authorJose Storopoli <jose@storopoli.io>
Sun, 4 Feb 2024 09:13:40 +0000 (06:13 -0300)
committerJose Storopoli <jose@storopoli.io>
Sun, 4 Feb 2024 09:13:40 +0000 (06:13 -0300)
More caught on by Nix CI in #1257.

crates/bdk/src/wallet/mod.rs
crates/chain/src/persist.rs
example-crates/wallet_rpc/README.md
example-crates/wallet_rpc/src/main.rs

index c6c922d5570448e34f034e9c6f4a3a370388a69d..2555c99381c26aae1062f610c460743869180f7d 100644 (file)
@@ -2473,7 +2473,7 @@ impl<D> Wallet<D> {
     /// 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<Item = (&'t Transaction, u64)>,
index c527e57d68fad5214831d700289ff7f3a8fa6664..5ddd622a3dd00a0bc3e30ca01bcf493e7fe4ae95 100644 (file)
@@ -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
index 0a2cc2946a906e395644e5182fc7dc898394d4eb..03c1b0f567219d17914d201bbb70e2dccd482220 100644 (file)
@@ -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] <DESCRIPTOR> [CHANGE_DESCRIPTOR]
index dc3b8bcdc80ecd11dc1a75c13094b16ad66a7246..264204a71a66c8143b007c77199185cc0354f756 100644 (file)
@@ -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.