I before E except after C (or uh, not-english)
This commit is contained in:
parent
5c465abed2
commit
2a21c86b91
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue