pub fn retain_v1_reward_accounts(
state: &RewardMerkleTreeV1,
accounts: impl IntoIterator<Item = RewardAccountV1>,
) -> Result<RewardMerkleTreeV1>
Expand description
Get a partial snapshot of the given reward state, which contains only the specified accounts.
Fails if one of the requested accounts is not represented in the original state
.