diff --git a/contracts/contracts/vault/VaultCore.sol b/contracts/contracts/vault/VaultCore.sol index 918c5cc166..18bbcde5db 100644 --- a/contracts/contracts/vault/VaultCore.sol +++ b/contracts/contracts/vault/VaultCore.sol @@ -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.