Skip to content

Commit

Permalink
Update contracts/v2/accounts/default/implementation_default.sol
Browse files Browse the repository at this point in the history
Co-authored-by: bergben <[email protected]>
  • Loading branch information
thrilok209 and bergben authored Jul 17, 2024
1 parent 42f624b commit 2999693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/v2/accounts/default/implementation_default.sol
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ contract Record is Constants {
* @param signature Signature byte array associated with data
*/
function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue) {
// hashing with domain separator mitigates any potential replaying on other networks or other Avocados of the same owner
// hashing with domain separator mitigates any potential replaying on other networks or other DSA of the same owner
hash = ECDSA.toTypedDataHash(
domainSeparatorV4(),
keccak256(abi.encode(EIP1271_TYPE_HASH, hash))
Expand Down

0 comments on commit 2999693

Please sign in to comment.