Skip to content

Commit 36efdac

Browse files
committed
chore: remove unused modifier
Signed-off-by: Tomás Migone <[email protected]>
1 parent 9e8004e commit 36efdac

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/horizon/contracts/staking/HorizonStakingExtension.sol

-8
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ contract HorizonStakingExtension is HorizonStakingBase, IHorizonStakingExtension
3030
using TokenUtils for IGraphToken;
3131
using PPMMath for uint256;
3232

33-
/**
34-
* @dev Checks that the sender is the L2GraphTokenGateway as configured on the Controller.
35-
*/
36-
modifier onlyL2Gateway() {
37-
require(msg.sender == address(_graphTokenGateway()), "ONLY_GATEWAY");
38-
_;
39-
}
40-
4133
/**
4234
* @dev Check if the caller is the slasher.
4335
*/

0 commit comments

Comments
 (0)