From d97db02fe824b8b99e28da87f6fa77ffabfd1904 Mon Sep 17 00:00:00 2001 From: zkJoaquin Date: Sun, 4 Feb 2024 10:43:44 +0800 Subject: [PATCH] del receive func --- contracts/gateway/zkpolygon/ZkPolygonL1Gateway.sol | 3 --- 1 file changed, 3 deletions(-) diff --git a/contracts/gateway/zkpolygon/ZkPolygonL1Gateway.sol b/contracts/gateway/zkpolygon/ZkPolygonL1Gateway.sol index 176b602..a0a8f25 100644 --- a/contracts/gateway/zkpolygon/ZkPolygonL1Gateway.sol +++ b/contracts/gateway/zkpolygon/ZkPolygonL1Gateway.sol @@ -24,9 +24,6 @@ contract ZkPolygonL1Gateway is IZkPolygonGateway, L1BaseGateway, BaseGateway { /// @dev Used to indicate that zkSync L2 -> L1 message was already processed mapping(uint256 => mapping(uint256 => bool)) public isMessageFinalized; - /// @dev Receive eth from ZkPolygon canonical bridge - receive() external payable {} - function initialize(IArbitrator _arbitrator, IZkPolygon _messageService) external initializer { __L1BaseGateway_init(_arbitrator); __BaseGateway_init();