Skip to content

Commit

Permalink
πŸ‘·πŸ»β€β™‚οΈ make depositToEntryPoint() payable
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders committed Aug 5, 2024
1 parent 7f2d43c commit 4cc7998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MarginPaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 4cc7998

Please sign in to comment.