Skip to content

Commit

Permalink
Fix audit #LTD-05
Browse files Browse the repository at this point in the history
Remove unused return variable naming
  • Loading branch information
cwsnt committed Nov 23, 2021
1 parent e6729a2 commit 63c7d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/connectors/loantoken/LoanTokenLogicStandard.sol
Expand Up @@ -1447,9 +1447,9 @@ contract LoanTokenLogicStandard is LoanTokenSettingsLowerAdmin {
/**
* @notice Compute the total amount of loan tokens on supply.
* @param interestUnPaid The interest not yet paid.
* @return assetSupply The total amount of loan tokens on supply.
* @return The total amount of loan tokens on supply.
* */
function _totalAssetSupply(uint256 interestUnPaid) internal view returns (uint256 assetSupply) {
function _totalAssetSupply(uint256 interestUnPaid) internal view returns (uint256) {
if (totalSupply_ != 0) {
uint256 assetsBalance = _flTotalAssetSupply; /// Temporary locked totalAssetSupply during a flash loan transaction.
if (assetsBalance == 0) {
Expand Down

0 comments on commit 63c7d4f

Please sign in to comment.