diff --git a/book/src/dev/rfcs/0005-state-updates.md b/book/src/dev/rfcs/0005-state-updates.md index b685af0e..f72ce356 100644 --- a/book/src/dev/rfcs/0005-state-updates.md +++ b/book/src/dev/rfcs/0005-state-updates.md @@ -527,7 +527,7 @@ New `non-finalized` blocks are commited as follows: it has already been successfully verified: - create a new oneshot channel - immediately send `Err(DuplicateBlockHash)` drop the sender - - return the reciever + - return the receiver 2. If a duplicate block hash exists in the queue: - Find the `QueuedBlock` for that existing duplicate block diff --git a/zebra-consensus/src/primitives/redjubjub.rs b/zebra-consensus/src/primitives/redjubjub.rs index 465d59d9..08d9239a 100644 --- a/zebra-consensus/src/primitives/redjubjub.rs +++ b/zebra-consensus/src/primitives/redjubjub.rs @@ -92,7 +92,7 @@ impl Service> for Verifier { Ok(result) => result, Err(RecvError::Lagged(_)) => { tracing::error!( - "batch verification reciever lagged and lost verification results" + "batch verification receiver lagged and lost verification results" ); Err(Error::InvalidSignature) } diff --git a/zebra-state/src/service/pending_utxos.rs b/zebra-state/src/service/pending_utxos.rs index c0740096..4ad38c2b 100644 --- a/zebra-state/src/service/pending_utxos.rs +++ b/zebra-state/src/service/pending_utxos.rs @@ -56,7 +56,7 @@ impl PendingUtxos { } } - /// Scan the set of waiting utxo requests for channels where all recievers + /// Scan the set of waiting utxo requests for channels where all receivers /// have been dropped and remove the corresponding sender. pub fn prune(&mut self) { self.0.retain(|_, chan| chan.receiver_count() > 0);