Skip to content

Commit

Permalink
chore: remove unnecessary using clause
Browse files Browse the repository at this point in the history
  • Loading branch information
ccashwell committed Mar 12, 2024
1 parent a4dce7e commit e8410b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/validators/SignerValidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {Validator} from "src/validators/Validator.sol";
contract SignerValidator is Validator {
using LibZip for bytes;
using SignatureCheckerLib for address;
using SignatureCheckerLib for bytes32;

/// @dev The set of authorized signers
mapping(address => bool) public signers;
Expand Down Expand Up @@ -54,7 +53,7 @@ contract SignerValidator is Validator {
_used[hash_] = true;

// Return the result of the signature check
return signer_.isValidSignatureNow(hash_.toEthSignedMessageHash(), signature_);
return signer_.isValidSignatureNow(SignatureCheckerLib.toEthSignedMessageHash(hash_), signature_);
}

/// @notice Set the authorized status of a signer
Expand Down

0 comments on commit e8410b3

Please sign in to comment.