Skip to content

Commit

Permalink
Revert change to MAX_INT in VaultCore
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Jan 15, 2025
1 parent f03de75 commit a2d6bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/contracts/vault/VaultCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ contract VaultCore is VaultInitializer {
using SafeERC20 for IERC20;
using StableMath for uint256;
/// @dev max signed int
uint256 internal constant MAX_INT = type(uint256).max;
uint256 internal constant MAX_INT = 2**255 - 1;

/**
* @dev Verifies that the rebasing is not paused.
Expand Down

0 comments on commit a2d6bf9

Please sign in to comment.