diff --git a/packages/dma-library/package.json b/packages/dma-library/package.json index 1110c7884..612908685 100644 --- a/packages/dma-library/package.json +++ b/packages/dma-library/package.json @@ -1,6 +1,6 @@ { "name": "@oasisdex/dma-library", - "version": "0.6.80", + "version": "0.6.81", "typings": "lib/index.d.ts", "types": "lib/index.d.ts", "main": "lib/index.js", diff --git a/packages/dma-library/src/utils/flashloan/resolve-provider.ts b/packages/dma-library/src/utils/flashloan/resolve-provider.ts index 694bd3e27..4adf53ae7 100644 --- a/packages/dma-library/src/utils/flashloan/resolve-provider.ts +++ b/packages/dma-library/src/utils/flashloan/resolve-provider.ts @@ -30,7 +30,8 @@ export function resolveFlashloanProvider({ } if ( lendingProtocol === 'AAVE_V3' && - aaveIsolatedCollateralTokens.includes(collateralToken.toUpperCase()) + aaveIsolatedCollateralTokens.includes(collateralToken.toUpperCase()) && + debtToken !== 'DAI' ) { return FlashloanProvider.Balancer }