Skip to content

Commit

Permalink
fix: abdk-cvf-7
Browse files Browse the repository at this point in the history
  • Loading branch information
zkbenny committed Mar 22, 2024
1 parent fba01f8 commit 7813bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Arbitrator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ contract Arbitrator is IArbitrator, OwnableUpgradeable, UUPSUpgradeable, Reentra
/// @dev Set primary chain
function setPrimaryChainGateway(IL1Gateway _gateway) external onlyOwner {
require(address(primaryChainGateway) == address(0), "Duplicate init gateway");
require(address(primaryChainGateway) != address(0), "Invalid gateway");
require(address(_gateway) != address(0), "Invalid gateway");
primaryChainGateway = _gateway;
emit InitPrimaryChain(_gateway);
}
Expand Down

0 comments on commit 7813bdb

Please sign in to comment.