Skip to content

Commit

Permalink
refactor(excubiae): remove _setGate() internal method
Browse files Browse the repository at this point in the history
re n
  • Loading branch information
0xjei committed Jun 14, 2024
1 parent 1b95984 commit 64337e9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/excubiae/contracts/Excubia.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ abstract contract Excubia is IExcubia, Ownable(msg.sender) {
if (_gate == address(0)) revert ZeroAddress();
if (gate != address(0)) revert GateAlreadySet();

_setGate(_gate);
}

/// @dev Internal method to directly set the gate address.
/// @param _gate The address of the contract to be set as the gate.
function _setGate(address _gate) internal virtual {
gate = _gate;
}

Expand Down

0 comments on commit 64337e9

Please sign in to comment.