Revert "Fix arithmetic lint in committee_cache (saturating_sub)"

This reverts commit bb3e9e12d2.
This commit is contained in:
dapplion
2026-03-25 20:42:18 -05:00
parent bb3e9e12d2
commit bc28e63585

View File

@@ -332,7 +332,7 @@ impl CommitteeCache {
self.shuffling_positions
.get(validator_index)?
.0
.map(|p| p.get().saturating_sub(1))
.map(|p| p.get() - 1)
}
}