diff --git a/src/MarginPaymaster.sol b/src/MarginPaymaster.sol index b8ef088..d26ec85 100644 --- a/src/MarginPaymaster.sol +++ b/src/MarginPaymaster.sol @@ -287,7 +287,7 @@ contract MarginPaymaster is IPaymaster, Zap, Ownable { weth.withdraw(amountOut); } - function depositToEntryPoint(uint256 amount) external onlyOwner { + function depositToEntryPoint(uint256 amount) external payable onlyOwner { entryPoint.depositTo{value: amount}(address(this)); }