Skip to content

Commit e705472

Browse files
committed
fix: return true by default
1 parent 005b171 commit e705472

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/misc/UiPoolDataProviderV2V3.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ contract UiPoolDataProviderV2V3 is IUiPoolDataProviderV3 {
137137
reserveData.stableBorrowRateEnabled
138138
) = baseData.configuration.getFlagsMemory();
139139
reserveData.usageAsCollateralEnabled = reserveData.baseLTVasCollateral != 0;
140-
140+
141141
InterestRates memory interestRates = getInterestRateStrategySlopes(
142142
DefaultReserveInterestRateStrategy(reserveData.interestRateStrategyAddress), provider, reserveData.underlyingAsset
143143
);
@@ -149,6 +149,7 @@ contract UiPoolDataProviderV2V3 is IUiPoolDataProviderV3 {
149149
reserveData.baseStableBorrowRate = interestRates.baseStableBorrowRate;
150150
reserveData.baseVariableBorrowRate = interestRates.baseVariableBorrowRate;
151151
reserveData.optimalUsageRatio = interestRates.optimalUsageRatio;
152+
reserveData.flashLoanEnabled = true;
152153
}
153154

154155
BaseCurrencyInfo memory baseCurrencyInfo;

0 commit comments

Comments
 (0)