Skip to content

Commit

Permalink
Update pkg/vault/contracts/Vault.sol
Browse files Browse the repository at this point in the history
Co-authored-by: EndymionJkb <[email protected]>
  • Loading branch information
joaobrunoah and EndymionJkb authored Sep 19, 2024
1 parent bd9d9fc commit 7b5e0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vault/contracts/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ contract Vault is IVaultMain, VaultCommon, Proxy {
vaultUnderlyingDeltaHint = wrappedToken.redeem(vaultWrappedDeltaHint, address(this), address(this));
} else {
// EXACT_OUT requires the exact amount of underlying tokens to be returned, so we call withdraw.
// The amount of underlying tokens to withdraw is the necessary amount to fulfill the trade
// The amount of underlying tokens to withdraw is the amount necessary to fulfill the trade
// (amountOutUnderlying), less the excess amount of underlying assets in the buffer
// (bufferUnderlyingImbalance). `bufferUnderlyingImbalance` may be positive if buffer has an excess of
// underlying, or negative if the buffer has an excess of wrapped tokens. `vaultUnderlyingDeltaHint`
Expand Down

0 comments on commit 7b5e0da

Please sign in to comment.