Remove unused parameter to allow compilation without optimization for coverage.

This commit is contained in:
David Racero 2020-09-14 10:46:57 +02:00
parent 4058a7284c
commit 1fbe84df49
2 changed files with 0 additions and 3 deletions

View File

@ -803,7 +803,6 @@ contract LendingPool is VersionedInitializable, ILendingPool {
ValidationLogic.validateBorrow(
reserve,
vars.onBehalfOf,
vars.asset,
vars.amount,
amountInETH,
vars.interestRateMode,

View File

@ -101,7 +101,6 @@ library ValidationLogic {
* @dev validates a borrow.
* @param reserve the reserve state from which the user is borrowing
* @param userAddress the address of the user
* @param reserveAddress the address of the reserve
* @param amount the amount to be borrowed
* @param amountInETH the amount to be borrowed, in ETH
* @param interestRateMode the interest rate mode at which the user is borrowing
@ -115,7 +114,6 @@ library ValidationLogic {
function validateBorrow(
ReserveLogic.ReserveData storage reserve,
address userAddress,
address reserveAddress,
uint256 amount,
uint256 amountInETH,
uint256 interestRateMode,