Skip to content

Commit

Permalink
https://github.com/sherlock-audit/2023-03-Y2K-judging/issues/480
Browse files Browse the repository at this point in the history
  • Loading branch information
3xHarry committed Apr 7, 2023
1 parent 0efdff3 commit 2ba5a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/legacy_v1/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ contract Vault is SemiFungibleVault, ReentrancyGuard {
/** @notice You can only call functions that use this modifier before the current epoch has started
*/
modifier epochHasNotStarted(uint256 id) {
if (block.timestamp > idEpochBegin[id]) revert EpochAlreadyStarted();
if (block.timestamp >= idEpochBegin[id]) revert EpochAlreadyStarted();
_;
}

Expand Down

0 comments on commit 2ba5a03

Please sign in to comment.