Skip to content

Commit

Permalink
Merge pull request #385 from morpho-org/fix/issue-98
Browse files Browse the repository at this point in the history
Use `_approveMaxTo ` in StEthBundler
  • Loading branch information
MathisGD authored Dec 21, 2023
2 parents 8198047 + 5b3b131 commit fcb2740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StEthBundler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ abstract contract StEthBundler is BaseBundler {
ST_ETH = IWstEth(wstEth).stETH();
WST_ETH = wstEth;

ERC20(ST_ETH).safeApprove(WST_ETH, type(uint256).max);
_approveMaxTo(ST_ETH, WST_ETH);
}

/* ACTIONS */
Expand Down

0 comments on commit fcb2740

Please sign in to comment.