@@ -766,8 +766,8 @@ impl MockConsensusNode {
766766
767767 /// Wait for the operator finish processing the consensus block before return
768768 pub async fn confirm_block_import_processed ( & mut self ) {
769- // Send one more notification to ensure the previous consensus block import notificaion
770- // have received by the operator
769+ // Send one more notification to ensure the previous consensus block import notification
770+ // have been received by the operator
771771 let ( acknowledgement_sender, mut acknowledgement_receiver) = mpsc:: channel ( 0 ) ;
772772 {
773773 // Must drop `block_import_acknowledgement_sender` after the notification otherwise
@@ -1126,8 +1126,8 @@ impl MockConsensusNode {
11261126
11271127 let res = match self . import_block ( block, Some ( storage_changes) ) . await {
11281128 Ok ( hash) => {
1129- // Remove the tx of the imported block from the tx pool incase re-include them
1130- // in the future block by accident.
1129+ // Remove the tx of the imported block from the tx pool, so we don't re-include
1130+ // them in future blocks by accident.
11311131 self . prune_txs_from_pool ( tx_hashes. as_slice ( ) ) . await ?;
11321132 Ok ( hash)
11331133 }
@@ -1146,7 +1146,7 @@ impl MockConsensusNode {
11461146 Ok ( ( ) )
11471147 }
11481148
1149- /// Produce a new block on top of the current best block, with the specificed extrinsics.
1149+ /// Produce a new block on top of the current best block, with the specified extrinsics.
11501150 #[ sc_tracing:: logging:: prefix_logs_with( self . log_prefix) ]
11511151 pub async fn produce_block_with_extrinsics (
11521152 & mut self ,
0 commit comments