diff --git a/package.json b/package.json index 79df4a8b..76a9718d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@curvefi/api", - "version": "2.65.3", + "version": "2.65.4", "description": "JavaScript library for curve.fi", "main": "lib/index.js", "author": "Macket", diff --git a/src/pools/mixins/poolBalancesMixin.ts b/src/pools/mixins/poolBalancesMixin.ts index bb6994b5..18408bf8 100644 --- a/src/pools/mixins/poolBalancesMixin.ts +++ b/src/pools/mixins/poolBalancesMixin.ts @@ -30,7 +30,7 @@ export const poolBalancesLendingMixin: IStatsPool = { const _poolWrappedBalances: bigint[] = await curve.multicallProvider.all(contractCalls); // @ts-ignore - const _rates: bigint[] = await this._getRates(); + const _rates: bigint[] = await this.pool._getRates(); const _poolUnderlyingBalances = _poolWrappedBalances.map( (_b: bigint, i: number) => _b * _rates[i] / curve.parseUnits(String(10**18), 0));