File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
l1-contracts/contracts/state-transition/chain-deps/facets Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -342,18 +342,15 @@ contract AdminFacet is ZKChainBase, IAdmin {
342
342
function forwardedBridgeRecoverFailedTransfer (
343
343
uint256 /* _chainId */ ,
344
344
bytes32 /* _assetInfo */ ,
345
- address _depositSender ,
345
+ address /* _depositSender */ ,
346
346
bytes calldata _chainData
347
347
) external payable override onlyBridgehub {
348
348
// As of now all we need in this function is the chainId so we encode it and pass it down in the _chainData field
349
349
uint256 protocolVersion = abi.decode (_chainData, (uint256 ));
350
350
351
351
require (s.settlementLayer != address (0 ), "Af: not migrated " );
352
- // Sanity check that the _depositSender is the chain admin.
353
- require (_depositSender == s.admin, "Af: not chainAdmin " );
354
352
355
353
uint256 currentProtocolVersion = s.protocolVersion;
356
-
357
354
require (currentProtocolVersion == protocolVersion, "CTM: protocolVersion not up to date " );
358
355
359
356
s.settlementLayer = address (0 );
You can’t perform that action at this time.
0 commit comments