From de9a53149b90472eb87865d0c83583a19ca46956 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+shaspitz@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:25:05 -0800 Subject: [PATCH] Update contracts/contracts/standard-bridge/Gateway.sol Co-authored-by: Mikhail Wall --- contracts/contracts/standard-bridge/Gateway.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/contracts/standard-bridge/Gateway.sol b/contracts/contracts/standard-bridge/Gateway.sol index 0e1ec259d..d3a820801 100644 --- a/contracts/contracts/standard-bridge/Gateway.sol +++ b/contracts/contracts/standard-bridge/Gateway.sol @@ -68,7 +68,7 @@ abstract contract Gateway is IGateway, GatewayStorage, /// @dev Allows owner to set a new counterparty finalization fee. function setCounterpartyFinalizationFee(uint256 _counterpartyFinalizationFee) external onlyOwner { - require(_counterpartyFinalizationFee > 0, CounterpartyFinalizationFeeTooSmall(_counterpartyFinalizationFee)); + require(_counterpartyFinalizationFee != 0, CounterpartyFinalizationFeeTooSmall(_counterpartyFinalizationFee)); counterpartyFinalizationFee = _counterpartyFinalizationFee; emit CounterpartyFinalizationFeeSet(_counterpartyFinalizationFee); }