Function create_rewards_obj

Source
pub fn create_rewards_obj(
    rewards: &[Reward],
    num_partitions: Option<u64>,
) -> Rewards