Skip to content

Commit

Permalink
cleanup (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
satyamakgec authored and maxsam4 committed May 31, 2019
1 parent 7c8fe9f commit 66879f5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions contracts/tokens/SecurityToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,6 @@ contract SecurityToken is ERC20, ReentrancyGuard, SecurityTokenStorage, IERC1594
require(isModule(msg.sender, _type));
}

/**
* @dev Throws if called by any account other than the STFactory.
*/
modifier onlyTokenFactory() {
require(msg.sender == tokenFactory);
_;
}

modifier checkGranularity(uint256 _value) {
require(_value % granularity == 0, "Invalid granularity");
_;
Expand Down

0 comments on commit 66879f5

Please sign in to comment.