Skip to content

Commit

Permalink
Increased max module types (#636)
Browse files Browse the repository at this point in the history
Increased the number of module types that the STFactory must check for potential incompatibilities before allowing the token to upgrade.
  • Loading branch information
maxsam4 authored and adamdossa committed Apr 9, 2019
1 parent 06709ee commit 47624d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/tokens/SecurityToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 47624d8

Please sign in to comment.