Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Aug 5, 2024
1 parent 3a254d0 commit c9e8c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/ERC721Permit_v4.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ abstract contract ERC721Permit_v4 is ERC721, IERC721Permit_v4, EIP712_v4, Unorde
) external payable checkSignatureDeadline(deadline) {
_checkNoSelfPermit(owner, operator);

bytes32 hash = ERC721PermitHashLibrary.hashPermitForAll(operator, approved, nonce, deadline);
signature.verify(_hashTypedData(hash), owner);
bytes32 digest = ERC721PermitHashLibrary.hashPermitForAll(operator, approved, nonce, deadline);
signature.verify(_hashTypedData(digest), owner);

_useUnorderedNonce(owner, nonce);
_approveForAll(owner, operator, approved);
Expand Down

0 comments on commit c9e8c06

Please sign in to comment.