From 1d1156dec4ff44996a82c431e5b2c25c25dd2555 Mon Sep 17 00:00:00 2001 From: dianakocsis Date: Thu, 31 Oct 2024 12:35:26 -0400 Subject: [PATCH] last one --- src/PositionDescriptor.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PositionDescriptor.sol b/src/PositionDescriptor.sol index 06e164e6..7f1ac799 100644 --- a/src/PositionDescriptor.sol +++ b/src/PositionDescriptor.sol @@ -57,7 +57,7 @@ contract PositionDescriptor is IPositionDescriptor { address currency0 = Currency.unwrap(poolKey.currency0); address currency1 = Currency.unwrap(poolKey.currency1); - // If possible, flip currencies to get the larger currency as the base, so that the price (quote/base) is more readable + // If possible, flip currencies to get the larger currency as the base currency, so that the price (quote/base) is more readable // flip if currency0 priority is greater than currency1 priority bool _flipRatio = flipRatio(currency0, currency1); @@ -103,7 +103,7 @@ contract PositionDescriptor is IPositionDescriptor { // Currencies in order of priority on mainnet: USDC, USDT, DAI, (ETH, WETH), TBTC, WBTC // wrapped native is different address on different chains. passed in constructor - // native address + // native currency if (currency == address(0) || currency == wrappedNative) { return CurrencyRatioSortOrder.DENOMINATOR; }