Skip to content

Commit

Permalink
fix validToken modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Dec 23, 2024
1 parent a1dfa8e commit 7ef6f30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/payment/SponsorPayment.sol
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ contract SponsorPayment is ReentrancyGuardUpgradeable, EIP712Upgradeable, Ownabl
modifier validToken(address token) {
if (token != address(0)) {
if (!_isContract(token)) revert InvalidToken("Not a contract address");
SponsorPaymentStorage storage s = _getSponsorPaymentStorage();
}
_;
}
Expand Down

0 comments on commit 7ef6f30

Please sign in to comment.