mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: fixed permission on repay
This commit is contained in:
parent
a5b3e0f122
commit
b3f7c1e883
|
@ -133,7 +133,14 @@ contract PermissionedLendingPool is LendingPool {
|
|||
uint256 amount,
|
||||
uint256 rateMode,
|
||||
address onBehalfOf
|
||||
) public virtual override onlyBorrowers(onBehalfOf) returns (uint256) {
|
||||
)
|
||||
public
|
||||
virtual
|
||||
override
|
||||
onlyBorrowers(onBehalfOf)
|
||||
onlyValidPermissionAdmin(onBehalfOf)
|
||||
returns (uint256)
|
||||
{
|
||||
return super.repay(asset, amount, rateMode, onBehalfOf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user