Skip to content

Commit

Permalink
doc(bootstrap): remove superfluous comments
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Jun 3, 2024
1 parent c5e5b46 commit 2f70e38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/Bootstrap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ contract Bootstrap is

// implementation of ITokenWhitelister
function addWhitelistToken(address _token) external beforeLocked onlyOwner whenNotPaused {
// modifiers: onlyOwner and whenNotPaused copied from client chain gateway.
// i added beforeLocked to ensure that new tokens may not be added after
// the offset duration before the spawn time begins.
// anyway it would be pointless to add such tokens since other operations
// cannot be performed.
require(!isWhitelistedToken[_token], "Bootstrap: token should be not whitelisted before");
whitelistTokens.push(_token);
isWhitelistedToken[_token] = true;
Expand Down

0 comments on commit 2f70e38

Please sign in to comment.