@curvefi/api 2.55.1 → 2.55.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/curve.js +1 -1
- package/package.json +1 -1
package/lib/curve.js
CHANGED
|
@@ -721,7 +721,7 @@ var Curve = /** @class */ (function () {
|
|
|
721
721
|
currentPoolIds = Object.keys(this.constants.TWOCRYPTO_FACTORY_POOLS_DATA);
|
|
722
722
|
lastPoolIdx = currentPoolIds.length === 0 ? -1 : Number(currentPoolIds[currentPoolIds.length - 1].split("-")[2]);
|
|
723
723
|
_a = lowerCasePoolDataAddresses;
|
|
724
|
-
return [4 /*yield*/,
|
|
724
|
+
return [4 /*yield*/, getTwocryptoFactoryPoolData.call(this, lastPoolIdx + 1)];
|
|
725
725
|
case 1:
|
|
726
726
|
poolData = _a.apply(void 0, [_b.sent()]);
|
|
727
727
|
this.constants.TWOCRYPTO_FACTORY_POOLS_DATA = __assign(__assign({}, this.constants.TWOCRYPTO_FACTORY_POOLS_DATA), poolData);
|