Skip to content

Commit

Permalink
chore: fix solhint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
madlabman committed Apr 10, 2024
1 parent 06b7a59 commit 7410883
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/CSAccounting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,6 @@ contract CSAccounting is
AssetRecovererLib.recoverStETHShares(address(LIDO), shares);
}

modifier onlyRecoverer() override {
_checkRole(RECOVERER_ROLE);
_;
}

function _getActiveKeys(
uint256 nodeOperatorId
) internal view returns (uint256) {
Expand Down Expand Up @@ -693,4 +688,9 @@ contract CSAccounting is
}
_;
}

modifier onlyRecoverer() override {
_checkRole(RECOVERER_ROLE);
_;
}
}
10 changes: 5 additions & 5 deletions src/CSModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1465,11 +1465,6 @@ contract CSModule is
);
}

modifier onlyRecoverer() override {
_checkRole(RECOVERER_ROLE);
_;
}

function _incrementModuleNonce() internal {
_nonce++;
}
Expand Down Expand Up @@ -1512,4 +1507,9 @@ contract CSModule is
revert NodeOperatorDoesNotExist();
_;
}

modifier onlyRecoverer() override {
_checkRole(RECOVERER_ROLE);
_;
}
}

0 comments on commit 7410883

Please sign in to comment.