Skip to content

Commit f14540b

Browse files
committed
docs: Remove unneeded comments
1 parent c382b22 commit f14540b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test-suites/liquidation-emode.spec.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -476,11 +476,8 @@ makeSuite('Pool Liquidation: Liquidates borrows in eMode with price change', (te
476476

477477
const balanceAfter = await aDai.balanceOf(user1.address);
478478

479-
const debtPrice = await oracle.getAssetPrice(EMODE_ORACLE_ADDRESS); //usdc.address);
480-
const collateralPrice = await oracle.getAssetPrice(EMODE_ORACLE_ADDRESS); // dai.address);
481-
482-
// These two prices above need to use the oracle
483-
// We also need a separate test then where we are liquidating the non-emode asset
479+
const debtPrice = await oracle.getAssetPrice(EMODE_ORACLE_ADDRESS);
480+
const collateralPrice = await oracle.getAssetPrice(EMODE_ORACLE_ADDRESS);
484481

485482
const expectedCollateralLiquidated = debtPrice
486483
.mul(toBorrow.div(2))
@@ -607,7 +604,7 @@ makeSuite('Pool Liquidation: Liquidates borrows in eMode with price change', (te
607604

608605
const balanceAfter = await aWETH.balanceOf(user1.address);
609606

610-
const debtPrice = await oracle.getAssetPrice(EMODE_ORACLE_ADDRESS); // usdc.address);
607+
const debtPrice = await oracle.getAssetPrice(EMODE_ORACLE_ADDRESS);
611608
const collateralPrice = await oracle.getAssetPrice(weth.address);
612609

613610
const wethConfig = await helpersContract.getReserveConfigurationData(weth.address);

0 commit comments

Comments
 (0)