Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: maple-labs/debt-locker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 991df09ec7878550f36c3fdd2019824aff312b9f
Choose a base ref
..
head repository: maple-labs/debt-locker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a8629747094d4dc300a0b449a8ecb63fdb5c13da
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 contracts/DebtLocker.sol
6 changes: 3 additions & 3 deletions contracts/DebtLocker.sol
Original file line number Diff line number Diff line change
@@ -236,9 +236,9 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied {
}

function getExpectedAmount(uint256 swapAmount_) external view override whenProtocolNotPaused returns (uint256 returnAmount_) {
address loanAddress = _loan;
address collateralAsset = IMapleLoanLike(loanAddress).collateralAsset();
address fundsAsset = IMapleLoanLike(loanAddress).fundsAsset();
address loan = _loan;
address collateralAsset = IMapleLoanLike(loan).collateralAsset();
address fundsAsset = IMapleLoanLike(loan).fundsAsset();

address globals = _getGlobals();