diff --git a/src/contracts/mixins/SignatureUtils.sol b/src/contracts/mixins/SignatureUtils.sol index dc741611c..dc25fb3cf 100644 --- a/src/contracts/mixins/SignatureUtils.sol +++ b/src/contracts/mixins/SignatureUtils.sol @@ -72,8 +72,9 @@ abstract contract SignatureUtils is ISignatureUtils { /// @dev Helper for checking if a signature is valid, reverts if not valid. function _checkIsValidSignatureNow(address signer, bytes32 signableDigest, bytes memory signature) internal view { - if (!signer.isValidSignatureNow(signableDigest, signature)) { - revert InvalidSignature(); - } + require( + signer.isValidSignatureNow(signableDigest, signature), + InvalidSignature() + ); } }