From 47624d85bd3a6f845df432a9efacf799f27d3fc2 Mon Sep 17 00:00:00 2001 From: Mudit Gupta Date: Wed, 10 Apr 2019 00:22:48 +0530 Subject: [PATCH] Increased max module types (#636) Increased the number of module types that the STFactory must check for potential incompatibilities before allowing the token to upgrade. --- contracts/tokens/SecurityToken.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/tokens/SecurityToken.sol b/contracts/tokens/SecurityToken.sol index 1128dfe81..13a258071 100644 --- a/contracts/tokens/SecurityToken.sol +++ b/contracts/tokens/SecurityToken.sol @@ -236,7 +236,7 @@ contract SecurityToken is ERC20, ReentrancyGuard, SecurityTokenStorage, IERC1594 * @notice Upgrades security token */ function upgradeToken() external onlyOwner { - IUpgradableTokenFactory(tokenFactory).upgradeToken(7); + IUpgradableTokenFactory(tokenFactory).upgradeToken(10); emit TokenUpgraded(securityTokenVersion.major, securityTokenVersion.minor, securityTokenVersion.patch); }