@uniswap/router-sdk 1.14.1 → 1.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/router-sdk.cjs.development.js +1 -1
- package/dist/router-sdk.cjs.development.js.map +1 -1
- package/dist/router-sdk.cjs.production.min.js +1 -1
- package/dist/router-sdk.cjs.production.min.js.map +1 -1
- package/dist/router-sdk.esm.js +1 -1
- package/dist/router-sdk.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/router-sdk.esm.js
CHANGED
|
@@ -650,7 +650,7 @@ function getPathCurrency(currency, pool) {
|
|
|
650
650
|
return currency.wrapped;
|
|
651
651
|
// return native currency if pool involves native version of wrapped currency (only applies to V4)
|
|
652
652
|
} else if (pool instanceof Pool) {
|
|
653
|
-
if (pool.
|
|
653
|
+
if (pool.token0.wrapped.equals(currency)) {
|
|
654
654
|
return pool.token0;
|
|
655
655
|
} else if (pool.token1.wrapped.equals(currency)) {
|
|
656
656
|
return pool.token1;
|