From c706d00249539a5d0d9e0d5bba7b815f401dc77d Mon Sep 17 00:00:00 2001 From: kelemeno Date: Wed, 10 Apr 2024 16:28:05 +0200 Subject: [PATCH] slither --- l1-contracts/contracts/vendor/AddressAliasHelper.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/l1-contracts/contracts/vendor/AddressAliasHelper.sol b/l1-contracts/contracts/vendor/AddressAliasHelper.sol index 6e1c7919f..19f3b2d79 100644 --- a/l1-contracts/contracts/vendor/AddressAliasHelper.sol +++ b/l1-contracts/contracts/vendor/AddressAliasHelper.sol @@ -51,6 +51,7 @@ library AddressAliasHelper { ) internal view returns (address _recipient) { if (_refundRecipient == address(0)) { // If the `_refundRecipient` is not provided, we use the `_prevMsgSender` as the recipient. + // slither-disable-next-line tx-origin _recipient = _prevMsgSender == tx.origin ? _prevMsgSender : AddressAliasHelper.applyL1ToL2Alias(_prevMsgSender);