Skip to content

Commit

Permalink
chore: remove unused modifier
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Migone <tomas@edgeandnode.com>
  • Loading branch information
tmigone committed Feb 28, 2025
1 parent 9e8004e commit 36efdac
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ contract HorizonStakingExtension is HorizonStakingBase, IHorizonStakingExtension
using TokenUtils for IGraphToken;
using PPMMath for uint256;

/**
* @dev Checks that the sender is the L2GraphTokenGateway as configured on the Controller.
*/
modifier onlyL2Gateway() {
require(msg.sender == address(_graphTokenGateway()), "ONLY_GATEWAY");
_;
}

/**
* @dev Check if the caller is the slasher.
*/
Expand Down

0 comments on commit 36efdac

Please sign in to comment.