Skip to content

Commit

Permalink
Remove dead code (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog authored Nov 1, 2023
1 parent 49b0e34 commit e7306e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Paymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ contract Paymaster is BasePaymaster {
* paymasterAndData[20:84] : abi.encode(validUntil, validAfter)
* paymasterAndData[84:] : signature
*/
function _validatePaymasterUserOp(UserOperation calldata userOp, bytes32 /*userOpHash*/, uint256 requiredPreFund)
function _validatePaymasterUserOp(UserOperation calldata userOp, bytes32 /*userOpHash*/, uint256 /*requiredPreFund*/)
internal view override returns (bytes memory context, uint256 validationData) {
(requiredPreFund);

(uint48 validUntil, uint48 validAfter, bytes calldata signature) = parsePaymasterAndData(userOp.paymasterAndData);
// ECDSA library supports both 64 and 65-byte long signatures.
// we only "require" it here so that the revert reason on invalid signature will be of "Paymaster", and not "ECDSA"
Expand Down

0 comments on commit e7306e9

Please sign in to comment.