Skip to content

Commit

Permalink
fix: needless extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
GalloDaSballo committed Jul 1, 2022
1 parent 6b312ed commit 67c37b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/RewardsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,6 @@ contract RewardsManager is ReentrancyGuard {
unchecked {
totalEpochs = endEpoch - startEpoch + 1;
}
require(totalEpochs != 0); // dev: no epochs
require(totalEpochs == amounts.length); // dev: Length Mismatch

// Calculate total for one-off transfer
Expand Down

0 comments on commit 67c37b4

Please sign in to comment.