Function create_rewards_obj

Source
pub fn create_rewards_obj(
    rewards: Rewards,
) -> Result<RewardsAndNumPartitions, &'static str>