Skip to content

Commit 66879f5

Browse files
satyamakgecmaxsam4
authored andcommitted
cleanup (#686)
1 parent 7c8fe9f commit 66879f5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

contracts/tokens/SecurityToken.sol

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,14 +164,6 @@ contract SecurityToken is ERC20, ReentrancyGuard, SecurityTokenStorage, IERC1594
164164
require(isModule(msg.sender, _type));
165165
}
166166

167-
/**
168-
* @dev Throws if called by any account other than the STFactory.
169-
*/
170-
modifier onlyTokenFactory() {
171-
require(msg.sender == tokenFactory);
172-
_;
173-
}
174-
175167
modifier checkGranularity(uint256 _value) {
176168
require(_value % granularity == 0, "Invalid granularity");
177169
_;

0 commit comments

Comments
 (0)