Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amsanghi committed Sep 1, 2023
1 parent bcb1885 commit 8324fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bridge/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ contract Bridge is Initializable, DelegateCallAware, IBridge {
}

/// @notice Allows the proxy owner to set the rollup address
function updateRollupAddress(IOwnable _rollup) external onlyDelegated onlyProxyOwner {
function updateRollupAddress(IOwnable _rollup) external onlyDelegated onlyRollupOrOwner {
rollup = _rollup;
}

Expand Down
2 changes: 1 addition & 1 deletion src/test-helpers/BridgeTester.sol
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ contract BridgeTester is Initializable, DelegateCallAware, IBridge {
rollup = rollup_;
}

function updateRollupAddress(IOwnable _rollup) external onlyDelegated onlyProxyOwner {
function updateRollupAddress(IOwnable _rollup) external onlyDelegated onlyRollupOrOwner {
rollup = _rollup;
}

Expand Down

0 comments on commit 8324fc0

Please sign in to comment.