@curvefi/api 2.42.1 → 2.42.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/lib/router.js +4 -1
- package/package.json +1 -1
package/lib/router.js
CHANGED
|
@@ -136,7 +136,10 @@ var _findAllRoutes = function (inputCoinAddress, outputCoinAddress) { return __a
|
|
|
136
136
|
case 0:
|
|
137
137
|
inputCoinAddress = inputCoinAddress.toLowerCase();
|
|
138
138
|
outputCoinAddress = outputCoinAddress.toLowerCase();
|
|
139
|
-
ALL_POOLS = Object.entries(curve.getPoolsData())
|
|
139
|
+
ALL_POOLS = Object.entries(curve.getPoolsData()).filter(function (_a) {
|
|
140
|
+
var id = _a[0], _ = _a[1];
|
|
141
|
+
return id !== "crveth";
|
|
142
|
+
});
|
|
140
143
|
return [4 /*yield*/, _getAmplificationCoefficientsFromApi()];
|
|
141
144
|
case 1:
|
|
142
145
|
amplificationCoefficientDict = _s.sent();
|