Skip to content

Commit

Permalink
fix: mock signer compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jazg committed Jun 22, 2022
1 parent 2b757e9 commit 5b87972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/test/MockRenVMSigner.sol
Expand Up @@ -13,8 +13,8 @@ contract MockRenVMSigner {

/// @notice verifySignature checks the the provided signature matches the
/// provided parameters. Returns a 4-byte value as defined by ERC1271.
function isValidSignature(bytes32 sigHash, bytes calldata signature) external view override returns (bytes4) {
function isValidSignature(bytes32 sigHash, bytes calldata signature) external view returns (bytes4) {
require(signer != address(0x0), "SignatureVerifier: mintAuthority not initialized");
return signer == ECDSA.recover(sigHash, signature) ? 0x1626ba7e : 0x00000000;
return bytes4(signer == ECDSA.recover(sigHash, signature) ? 0x1626ba7e : 0x00000000);
}
}

0 comments on commit 5b87972

Please sign in to comment.