Skip to content

Commit 48bd286

Browse files
authored
Updated SignatureChecker NatSpec to better reflect EIP-7702 behavior (#5670)
1 parent de89798 commit 48bd286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/utils/cryptography/SignatureChecker.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import {IERC1271} from "../../interfaces/IERC1271.sol";
1313
*/
1414
library SignatureChecker {
1515
/**
16-
* @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the
17-
* signature is validated against that smart contract using ERC-1271, otherwise it's validated using `ECDSA.recover`.
16+
* @dev Checks if a signature is valid for a given signer and data hash. If the signer has code, the
17+
* signature is validated against it using ERC-1271, otherwise it's validated using `ECDSA.recover`.
1818
*
1919
* NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus
2020
* change through time. It could return true at block N and false at block N+1 (or the opposite).

0 commit comments

Comments
 (0)