Skip to content

Commit 7849be1

Browse files
committed
fix params order in getAssetData
1 parent 12896ff commit 7849be1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

contracts/misc/UiPoolDataProvider.sol

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,21 +138,21 @@ contract UiPoolDataProvider is IUiPoolDataProvider {
138138
// incentives
139139
if (address(0) != address(incentivesController)) {
140140
(
141+
reserveData.aTokenIncentivesIndex,
141142
reserveData.aEmissionPerSecond,
142-
reserveData.aIncentivesLastUpdateTimestamp,
143-
reserveData.aTokenIncentivesIndex
143+
reserveData.aIncentivesLastUpdateTimestamp
144144
) = incentivesController.getAssetData(reserveData.aTokenAddress);
145145

146146
(
147+
reserveData.sTokenIncentivesIndex,
147148
reserveData.sEmissionPerSecond,
148-
reserveData.sIncentivesLastUpdateTimestamp,
149-
reserveData.sTokenIncentivesIndex
149+
reserveData.sIncentivesLastUpdateTimestamp
150150
) = incentivesController.getAssetData(reserveData.stableDebtTokenAddress);
151151

152152
(
153+
reserveData.vTokenIncentivesIndex,
153154
reserveData.vEmissionPerSecond,
154-
reserveData.vIncentivesLastUpdateTimestamp,
155-
reserveData.vTokenIncentivesIndex
155+
reserveData.vIncentivesLastUpdateTimestamp
156156
) = incentivesController.getAssetData(reserveData.variableDebtTokenAddress);
157157
}
158158
}

0 commit comments

Comments
 (0)