Skip to content

Commit

Permalink
organizing socks
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhea committed Dec 12, 2023
1 parent 860f6e2 commit 6f3fe94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/instances/ERC4626Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ abstract contract ERC4626Base is HyperdriveBase {
uint256 _shares,
IHyperdrive.Options calldata _options
) internal override returns (uint256 amountWithdrawn) {
// Just return zero in this case
if ( _shares == 0 ) {
// If we're withdrawing zero shares, short circuit and return 0.
if (_shares == 0) {
return 0;
}

Expand Down

0 comments on commit 6f3fe94

Please sign in to comment.