Skip to content

Commit

Permalink
Update contracts/gateway/AxelarAmplifierGateway.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Jun 30, 2024
1 parent e5816fa commit 2fab37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/gateway/AxelarAmplifierGateway.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ contract AxelarAmplifierGateway is BaseAmplifierGateway, BaseWeightedMultisig, U
function _setup(bytes calldata data) internal override {
(address operator_, WeightedSigners[] memory signers) = abi.decode(data, (address, WeightedSigners[]));

// operator is an optional parameter. The gateway owner can set it later if needed.
// operator is an optional parameter. The gateway owner can set it later via `transferOperatorship` if needed.
// This also simplifies setup for upgrades so if the current operator doesn't need to be changed, then it can be skipped, instead of having to specify the current operator again.
if (operator_ != address(0)) {
_transferOperatorship(operator_);
Expand Down

0 comments on commit 2fab37a

Please sign in to comment.