Skip to content

Commit

Permalink
docs: update outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinEgalite committed Sep 25, 2023
1 parent 7c6dedd commit a883c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetaMorpho.sol
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ contract MetaMorpho is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorph
return (assets.zeroFloorSub(idle), idle.zeroFloorSub(assets));
}

/// @dev Assumes that the inputs `marketParams` and `id` match.
/// @dev Assumes that that `supplyBalance` corresponds the correct market `id`.
function _suppliable(uint256 supplyBalance, Id id) internal view returns (uint256) {
uint256 marketCap = config[id].cap;
if (marketCap == 0) return 0;
Expand Down

0 comments on commit a883c67

Please sign in to comment.