Skip to content

Commit

Permalink
fix: use this instead of ISignatureValidator call
Browse files Browse the repository at this point in the history
  • Loading branch information
colinnielsen committed Oct 30, 2024
1 parent 53d9b64 commit 9ab4cbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CompatibilityFallbackHandler_1_4_1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ contract CompatibilityFallbackHandler is DefaultCallbackHandler {
* @notice See https://github.com/gnosis/util-contracts/blob/bb5fe5fb5df6d8400998094fb1b32a178a47c3a1/contracts/StorageAccessible.sol
*/
function isValidSignature(bytes32 _dataHash, bytes calldata _signature) external view returns (bytes4) {
ISignatureValidator validator = ISignatureValidator(msg.sender);
bytes4 value = validator.isValidSignature(abi.encode(_dataHash), _signature);
bytes4 value = this.isValidSignature(abi.encode(_dataHash), _signature);
return (value == EIP1271_VALUE) ? UPDATED_MAGIC_VALUE : bytes4(0);
}

Expand Down

0 comments on commit 9ab4cbe

Please sign in to comment.