Skip to content

Commit d83330e

Browse files
committed
price decimals fix
1 parent dcaf252 commit d83330e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/unit/DSCEngineTest.t.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ contract DSCEngineTest is Test {
8383
function test_getUsdValue() public view {
8484
uint256 btcAmount = 2e8;
8585
uint256 expectedValue = btcAmount * currentBtcPrice * 1e18 / (WBTC_PRECISION * PRICEFEED_PRECISION);
86-
// / wbtc decimals * priceFeedDecimals
8786
uint256 actualValue = engine.getUsdValue(wbtc, btcAmount);
8887
console.log("expected value :", expectedValue);
8988
console.log("actual value :", actualValue);

0 commit comments

Comments
 (0)