mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
fix: fixed overwriting of subtoken reward info
This commit is contained in:
parent
b5c06fbd52
commit
ad8e895d3b
|
@ -332,7 +332,7 @@ contract UiIncentiveDataProviderV2 is IUiIncentiveDataProviderV3 {
|
|||
IERC20Detailed(vRewardToken).decimals()
|
||||
);
|
||||
|
||||
userReservesIncentivesData[i].aTokenIncentivesUserData = UserIncentiveData(
|
||||
userReservesIncentivesData[i].vTokenIncentivesUserData = UserIncentiveData(
|
||||
baseData.variableDebtTokenAddress,
|
||||
address(vTokenIncentiveController),
|
||||
vUserRewardsInformation
|
||||
|
@ -361,7 +361,7 @@ contract UiIncentiveDataProviderV2 is IUiIncentiveDataProviderV3 {
|
|||
IERC20Detailed(sRewardToken).decimals()
|
||||
);
|
||||
|
||||
userReservesIncentivesData[i].aTokenIncentivesUserData = UserIncentiveData(
|
||||
userReservesIncentivesData[i].sTokenIncentivesUserData = UserIncentiveData(
|
||||
baseData.stableDebtTokenAddress,
|
||||
address(sTokenIncentiveController),
|
||||
sUserRewardsInformation
|
||||
|
|
Loading…
Reference in New Issue
Block a user