Submitted by cmichel
The ERC20Rewards contract assumes that enough rewardsToken are in the contract to pay out when claim is called but this value is never checked and claiming rewards can fail.
Recommend that, when setting new rewards periods, to make sure that enough rewardsTokens are in the contract to cover the entire period.
alcueca (Yield) acknowledged:
