I before E except after C (or uh, not-english)

This commit is contained in:
Deirdre Connolly 2020-11-24 22:14:22 -05:00 committed by Deirdre Connolly
parent 5c465abed2
commit 2a21c86b91
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -92,7 +92,7 @@ impl Service<BatchControl<Item>> 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)
}

View File

@ -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);