mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Remove unused parameter to allow compilation without optimization for coverage.
This commit is contained in:
parent
4058a7284c
commit
1fbe84df49
|
@ -803,7 +803,6 @@ contract LendingPool is VersionedInitializable, ILendingPool {
|
|||
ValidationLogic.validateBorrow(
|
||||
reserve,
|
||||
vars.onBehalfOf,
|
||||
vars.asset,
|
||||
vars.amount,
|
||||
amountInETH,
|
||||
vars.interestRateMode,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user