Skip to content

Commit

Permalink
use msg.sender as signature receiver call
Browse files Browse the repository at this point in the history
  • Loading branch information
colinnielsen committed Oct 30, 2024
1 parent 9ab4cbe commit aad5a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CompatibilityFallbackHandler_1_4_1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +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) {
bytes4 value = this.isValidSignature(abi.encode(_dataHash), _signature);
bytes4 value = CompatibilityFallbackHandler(msg.sender).isValidSignature(abi.encode(_dataHash), _signature);
return (value == EIP1271_VALUE) ? UPDATED_MAGIC_VALUE : bytes4(0);
}

Expand Down

0 comments on commit aad5a17

Please sign in to comment.