Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ contract RewardsManagerModule is IRewardsManagerModule {
// No rewards are currently being distributed if the distributor doesn't exist, they are scheduled to be distributed in the future, or the distribution as already completed
if (
address(vault.rewards[rewardId].distributor) == address(0) ||
totalShares == 0 ||
vault.rewards[rewardId].start > curTime.toUint() ||
vault.rewards[rewardId].start + vault.rewards[rewardId].duration <= curTime.toUint()
) {
Expand Down