Skip to content

Commit

Permalink
Fix aspect wallet aspect operation check issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbeng committed Sep 18, 2023
1 parent 159e1bc commit 018aaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/samples/AspectEnabledSimpleAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ contract AspectEnabledSimpleAccount is SimpleAccount {
if (userOp.signature.length > 0) {
validationData = _validateSignature(userOp, userOpHash);
} else {
(bool success, bytes memory returnData) = address(0x101).call(bytes32ToBytes(userOpHash));
(bool success, bytes memory returnData) = address(0x65).call(bytes32ToBytes(userOpHash));
validationData = success ? _validateAspectId(bytesToAddress(returnData)) : ASPECT_VALIDATION_FAILED;
}
validationData = _validateSignature(userOp, userOpHash);
Expand Down

0 comments on commit 018aaa0

Please sign in to comment.