Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroknots committed Feb 22, 2024
1 parent 1b17d91 commit e102f53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/src/OwnableValidator/OwnableValidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ contract OwnableValidator is ERC7579ValidatorBase {
returns (bytes4)
{
address owner = owners[msg.sender];
address recover = ECDSA.recover(hash, data);
bool valid = SignatureCheckerLib.isValidSignatureNow(owner, hash, data);
return SignatureCheckerLib.isValidSignatureNow(owner, hash, data)
return SignatureCheckerLib.isValidSignatureNowCalldata(owner, hash, data)
? EIP1271_SUCCESS
: EIP1271_FAILED;
}
Expand Down

0 comments on commit e102f53

Please sign in to comment.