Skip to content

Commit

Permalink
withdraw assets without share conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Dec 18, 2024
1 parent 0173fdd commit 470c769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Strategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ contract Strategy is BaseStrategy, Pausable, AccessControl {
*/
function _withdrawAsset(uint256 amount) private {
YEARN_VAULT.withdraw(
YEARN_VAULT.convertToShares(amount),
amount,
address(this),
address(this)
);
Expand Down

0 comments on commit 470c769

Please sign in to comment.