Skip to content

Commit

Permalink
slither
Browse files Browse the repository at this point in the history
  • Loading branch information
kelemeno committed Apr 10, 2024
1 parent f33e767 commit c706d00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions l1-contracts/contracts/vendor/AddressAliasHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 55 in l1-contracts/contracts/vendor/AddressAliasHelper.sol

View workflow job for this annotation

GitHub Actions / lint

Avoid to use tx.origin

Check warning on line 55 in l1-contracts/contracts/vendor/AddressAliasHelper.sol

View workflow job for this annotation

GitHub Actions / lint

Avoid to use tx.origin

Check warning on line 55 in l1-contracts/contracts/vendor/AddressAliasHelper.sol

View workflow job for this annotation

GitHub Actions / lint

Avoid to use tx.origin
? _prevMsgSender
: AddressAliasHelper.applyL1ToL2Alias(_prevMsgSender);
Expand Down

0 comments on commit c706d00

Please sign in to comment.