@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.
@@ -655,7 +655,7 @@ function getPathCurrency(currency, pool) {
655
655
  return currency.wrapped;
656
656
  // return native currency if pool involves native version of wrapped currency (only applies to V4)
657
657
  } else if (pool instanceof v4Sdk.Pool) {
658
- if (pool.currency0.wrapped.equals(currency)) {
658
+ if (pool.token0.wrapped.equals(currency)) {
659
659
  return pool.token0;
660
660
  } else if (pool.token1.wrapped.equals(currency)) {
661
661
  return pool.token1;