Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Merlin Egalite <[email protected]>
  • Loading branch information
MerlinEgalite authored Aug 14, 2024
1 parent 3f01808 commit 9e3af3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/IMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ interface IMorphoBase {
) external returns (uint256 assetsBorrowed, uint256 sharesBorrowed);

/// @notice Repays `assets` or `shares` on behalf of `onBehalf`, optionally calling back the caller's
/// `onMorphoReplay` function with the given `data`.
/// `onMorphoRepay` function with the given `data`.
/// @dev Either `assets` or `shares` should be zero. To repay max, pass the `shares`'s balance of `onBehalf`.
/// @dev Repaying an amount corresponding to more shares than borrowed will revert for underflow.
/// @dev It is advised to use the `shares` input when repaying the full position to avoid reverts due to conversion
Expand Down

0 comments on commit 9e3af3f

Please sign in to comment.