File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/pallet-domains/src
test/subspace-test-service/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ fn test_bundle_format_verification() {
831831 BundleError :: InvalidExtrinsicRoot
832832 ) ;
833833
834- // Bundle with additional extrinsic
834+ // Bundle with additional extrinsics
835835 let mut invalid_extrinsic_root_bundle = valid_bundle. clone ( ) ;
836836 let mut extrinsics = valid_bundle. extrinsics ( ) . to_vec ( ) ;
837837 extrinsics. push ( opaque_extrinsic ( 4 , 4 ) ) ;
Original file line number Diff line number Diff line change @@ -767,7 +767,7 @@ impl MockConsensusNode {
767767 /// Wait for the operator finish processing the consensus block before return
768768 pub async fn confirm_block_import_processed ( & mut self ) {
769769 // Send one more notification to ensure the previous consensus block import notification
770- // have received by the operator
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 in case 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 }
You can’t perform that action at this time.
0 commit comments