@kamino-finance/kliquidity-sdk 6.2.0 → 6.2.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/Kamino.js CHANGED
@@ -1187,7 +1187,7 @@ class Kamino {
1187
1187
  const twaps = {};
1188
1188
  ({ oraclePrices, collateralInfos } = yield this.getOraclePricesAndCollateralInfos(oraclePrices, collateralInfos));
1189
1189
  for (const collateralInfo of collateralInfos) {
1190
- if (collateralInfo.scopePriceChain && scope_sdk_1.Scope.isScopeChainValid(collateralInfo.scopePriceChain)) {
1190
+ if (collateralInfo.scopePriceChain && scope_sdk_1.Scope.isScopeChainValid(collateralInfo.scopePriceChain) && collateralInfo.disabled === 0) {
1191
1191
  const collInfoMintString = collateralInfo.mint.toString();
1192
1192
  const spotPrice = yield this._scope.getPriceFromChain(collateralInfo.scopePriceChain, oraclePrices);
1193
1193
  spotPrices[collInfoMintString] = {