Skip to content

Commit

Permalink
chore: minor code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amarinkovic committed Jun 25, 2024
1 parent 2716978 commit 9fbdeef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libs/LibTokenizedVaultStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ library LibTokenizedVaultStaking {
if (_config.a + _config.r > _config.divider) revert APlusRCannotBeGreaterThanDivider();
if (_config.a + _config.r != _config.divider) revert BoostMultiplierConvergenceFailure(_config.a, _config.r, _config.divider);
if (_config.interval == 0) revert InvalidIntervalSecondsValue();
if (_config.interval < LC.MIN_STAKING_INTERVAL || _config.interval > LC.MAX_STAKING_INTERVAL) {
revert IntervalOutOfRange(_config.interval);
}
if (_config.interval < LC.MIN_STAKING_INTERVAL || _config.interval > LC.MAX_STAKING_INTERVAL) revert IntervalOutOfRange(_config.interval);
if (_config.initDate <= block.timestamp) revert InvalidStakingInitDate();
if (_config.initDate > block.timestamp + LC.MAX_INIT_DATE_PERIOD) revert InitDateTooFar(_config.initDate);
if (_config.tokenId == 0) revert InvalidTokenId();
Expand Down

0 comments on commit 9fbdeef

Please sign in to comment.