Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo.
  • Loading branch information
eskimor committed Sep 8, 2021
commit 00d61701b8fcac3145b9a8da7b6774228d487ebd
2 changes: 1 addition & 1 deletion runtime/parachains/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn make_persisted_validation_data<T: paras::Config + hrmp::Config>(

/// Take an active subset of a set containing all validators.
///
/// First item in pair will be all items in set have indeces found in the `activer` indices set (in
/// First item in pair will be all items in set have indeces found in the `active` indices set (in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// First item in pair will be all items in set have indeces found in the `active` indices set (in
/// First item in pair will be all items in set have indices found in the `active` indices set (in

/// the order of the `active` vec, the second item will contain the rest, in the original order.
///
/// split_active_subset(active.into_iter().collect(), all).0 == take_active_subset(active, all)
Expand Down