Skip to content

Commit

Permalink
Merge pull request #185 from etherfi-protocol/certora-i03
Browse files Browse the repository at this point in the history
[Certora][I-03] fix double role check
  • Loading branch information
jtfirek authored Nov 11, 2024
2 parents deb7155 + 8491847 commit 17f172c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EtherFiNodesManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ contract EtherFiNodesManager is
/// @param _selector method selector
/// @param _target call target for forwarded call
/// @param _allowed enable or disable the call
function updateAllowedForwardedExternalCalls(bytes4 _selector, address _target, bool _allowed) external onlyOwner {
function updateAllowedForwardedExternalCalls(bytes4 _selector, address _target, bool _allowed) external {
if (!roleRegistry.hasRole(WHITELIST_UPDATER, msg.sender)) revert IncorrectRole();

allowedForwardedExternalCalls[_selector][_target] = _allowed;
Expand Down

0 comments on commit 17f172c

Please sign in to comment.