mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
remove some memory properites we do not need
This commit is contained in:
parent
afa025265b
commit
7f90cf6da7
|
@ -23,12 +23,7 @@ contract UiIncentiveDataProvider is IUiIncentiveDataProvider {
|
|||
override
|
||||
returns (AggregatedReserveIncentiveData[] memory, UserReserveIncentiveData[] memory)
|
||||
{
|
||||
AggregatedReserveIncentiveData[] memory reservesIncentivesData =
|
||||
_getReservesIncentivesData(provider);
|
||||
UserReserveIncentiveData[] memory userReservesIncentivesData =
|
||||
_getUserReservesIncentivesData(provider, user);
|
||||
|
||||
return (reservesIncentivesData, userReservesIncentivesData);
|
||||
return (_getReservesIncentivesData(provider), _getUserReservesIncentivesData(provider, user));
|
||||
}
|
||||
|
||||
function getReservesIncentivesData(ILendingPoolAddressesProvider provider)
|
||||
|
|
Loading…
Reference in New Issue
Block a user