remove some memory properites we do not need

This commit is contained in:
Josh Stevens 2021-09-01 13:06:40 +01:00
parent afa025265b
commit 7f90cf6da7

View File

@ -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)