mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Fix some typos in dispute-coordinator (#5941)
This commit is contained in:
committed by
GitHub
parent
fc97080cb2
commit
6e04112b93
@@ -213,7 +213,6 @@ impl Participation {
|
||||
}
|
||||
|
||||
/// Dequeue until `MAX_PARALLEL_PARTICIPATIONS` is reached.
|
||||
|
||||
async fn dequeue_until_capacity<Context>(
|
||||
&mut self,
|
||||
ctx: &mut Context,
|
||||
|
||||
@@ -55,7 +55,7 @@ const LRU_OBSERVED_BLOCKS_CAPACITY: usize = 20;
|
||||
/// - Monitors for inclusion events to keep track of candidates that have been included on chains.
|
||||
/// - Calls `FetchOnChainVotes` for each block to gather potentially missed votes from chain.
|
||||
///
|
||||
/// With this information it provies a `CandidateComparator` and as a return value of
|
||||
/// With this information it provides a `CandidateComparator` and as a return value of
|
||||
/// `process_active_leaves_update` any scraped votes.
|
||||
pub struct ChainScraper {
|
||||
/// All candidates we have seen included, which not yet have been finalized.
|
||||
@@ -136,7 +136,7 @@ impl ChainScraper {
|
||||
|
||||
let mut on_chain_votes = Vec::new();
|
||||
for (block_number, block_hash) in block_numbers.zip(block_hashes) {
|
||||
gum::trace!(?block_number, ?block_hash, "In ancestor processesing.");
|
||||
gum::trace!(?block_number, ?block_hash, "In ancestor processing.");
|
||||
|
||||
self.process_candidate_events(sender, block_number, block_hash).await?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user