Skip to main content

select_staking_key_sets

Function select_staking_key_sets 

Source
fn select_staking_key_sets(
    all: Vec<StakingKeySet>,
    indices: &[usize],
) -> Vec<StakingKeySet>
Expand description

Picks the key sets at indices out of the full deterministic sequence, preserving the order of indices. Panics on duplicate or out-of-range indices.