- **Fix:** Explicitly handle `rewardAmount == 0`. - **Complexity:** Low
rewardAmount == 0.