File tree 1 file changed +2
-2
lines changed
contracts/utils/cryptography 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import {IERC1271} from "../../interfaces/IERC1271.sol";
13
13
*/
14
14
library SignatureChecker {
15
15
/**
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`.
18
18
*
19
19
* NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus
20
20
* change through time. It could return true at block N and false at block N+1 (or the opposite).
You can’t perform that action at this time.
0 commit comments