From c9e8c0695612df39b6a863cc052fc32160fa7091 Mon Sep 17 00:00:00 2001 From: saucepoint Date: Sun, 4 Aug 2024 23:24:22 -0400 Subject: [PATCH] rename variable --- src/base/ERC721Permit_v4.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/ERC721Permit_v4.sol b/src/base/ERC721Permit_v4.sol index 6c67e7f8..0485ca26 100644 --- a/src/base/ERC721Permit_v4.sol +++ b/src/base/ERC721Permit_v4.sol @@ -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);