diff --git a/packages/kamino-sdk/src/Kamino.ts b/packages/kamino-sdk/src/Kamino.ts index 0995a49d..65149bba 100644 --- a/packages/kamino-sdk/src/Kamino.ts +++ b/packages/kamino-sdk/src/Kamino.ts @@ -4844,8 +4844,8 @@ export class Kamino { b: ZERO, }; for (let feeInfo of meteoraPosition.feeInfos) { - pendingFees.a = pendingFees.a.add(new Decimal(meteoraPosition.feeInfos[0].feeXPending.toString())); - pendingFees.b = pendingFees.b.add(new Decimal(meteoraPosition.feeInfos[1].feeXPending.toString())); + pendingFees.a = pendingFees.a.add(feeInfo.feeXPending.toString()); + pendingFees.b = pendingFees.b.add(feeInfo.feeYPending.toString()); } result.push({ strategy: meteoraStrategies[index],