Skip to content

Commit

Permalink
Merge branch 'beanstalk-3-merge-misc-bip' of https://github.com/Beans…
Browse files Browse the repository at this point in the history
…talkFarms/Beanstalk into beanstalk-3-merge-misc-bip
  • Loading branch information
nickkatsios committed Aug 11, 2024
2 parents 21f0806 + 2c88731 commit 44fc6a8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions protocol/contracts/mocks/mockFacets/MockConvertFacet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ contract MockConvertFacet is ConvertFacet {
address token,
int96[] memory stems,
uint256[] memory amounts,
uint256 maxTokens
) external // address account
{
uint256 maxTokens // address account
) external {
LibSilo._mow(msg.sender, token);
// if (account == address(0)) account = msg.sender;
(uint256 stalkRemoved, uint256 bdvRemoved) = LibConvert._withdrawTokens(
Expand All @@ -42,9 +41,8 @@ contract MockConvertFacet is ConvertFacet {
address token,
uint256 amount,
uint256 bdv,
uint256 grownStalk
) external // address account
{
uint256 grownStalk // address account
) external {
LibSilo._mow(msg.sender, token);
// if (account == address(0)) account = msg.sender;
LibConvert._depositTokensForConvert(token, amount, bdv, grownStalk);
Expand Down

0 comments on commit 44fc6a8

Please sign in to comment.